| commit | 4d33d4982f72840b5e2eba1a1a01817986a63b57 | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@winehq.org> | Wed Mar 03 13:18:33 2010 +0100 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed Mar 03 13:20:26 2010 +0100 |
| tree | 3c5eca8f2828794f491ec6776905c625e2ac6651 | |
| parent | c0ef7a1a931e68ea7bf92e9bd9dc3b38adec5cd3 [diff] [blame] |
user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage.
diff --git a/server/queue.c b/server/queue.c index cfe9818..938d7cf 100644 --- a/server/queue.c +++ b/server/queue.c
@@ -636,7 +636,7 @@ static int match_window( user_handle_t win, user_handle_t msg_win ) { if (!win) return 1; - if (win == (user_handle_t)-1) return !msg_win; + if (win == -1 || win == 1) return !msg_win; if (msg_win == win) return 1; return is_child_window( win, msg_win ); }