commit | 605cba3c8efb45fd39d45a48dd35d3844dce8e20 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Fri Apr 26 18:36:06 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Apr 26 18:36:06 2002 +0000 |
tree | 8c28a1fb700aab948a3e454a9584be773abc0f22 | |
parent | ff1f320ac826ec39ebe8a2088e11398a29471261 [diff] [blame] |
Update the queue key state even if no window has the focus (spotted by Rizsanyi Zsolt).
diff --git a/windows/message.c b/windows/message.c index 94a98e5..4e474a1 100644 --- a/windows/message.c +++ b/windows/message.c
@@ -324,6 +324,9 @@ HOOK_CallHooksA( WH_JOURNALRECORD, HC_ACTION, 0, (LPARAM)&event ); } + /* if we are going to throw away the message, update the queue state now */ + if (!msg->hwnd) update_queue_key_state( msg->message, msg->wParam ); + return (msg->hwnd != 0); }