Commit Graph

185 Commits

Author SHA1 Message Date
Piotr Caban 03f645a76b server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified. 2015-02-09 17:40:40 +09:00
Piotr Caban f747e5c8c9 user32: Don't move mouse hardware messages to other threads queues. 2014-10-17 17:51:55 +09:00
Piotr Caban 3f1bbdcae3 server: Send mouse hardware messages to thread owning top-most window.
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Felix Janda e3faab267c server: Add missing includes of poll.h. 2014-06-12 18:05:08 +02:00
Vincent Povirk 417585661c server: Clear the queue's QS_SMRESULT bit when sending a new message. 2014-05-20 21:26:52 +02:00
Alexandre Julliard 202d91e551 Revert "server: Restore the masks from the previous get_message when a wait is satisfied."
This reverts commit f846312f46.
The masks will be stored on the client side instead.
2014-04-10 16:28:52 +02:00
Piotr Caban de21941178 user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag. 2014-03-27 16:18:05 +01:00
Alexandre Julliard f846312f46 server: Restore the masks from the previous get_message when a wait is satisfied. 2014-03-19 16:50:32 +01:00
Alexandre Julliard d4cd051cef server: Store abandoned state as a flag in the wait structure. 2013-08-27 23:48:37 +02:00
Alexandre Julliard 39644bb309 server: Pass a wait queue entry to the signaled/satisfied object functions. 2013-08-27 23:48:36 +02:00
Alexandre Julliard de9f5b33b8 server: Store the wait structure in the wait entry and add an accessor function for the thread. 2013-08-27 23:48:31 +02:00
Henri Verbeet 54efd8a430 server: Only remove WM_INPUT messages from the queue if PM_REMOVE is set. 2012-09-13 10:24:05 +02:00
Henri Verbeet c6fcc0255c user32: Add rawinput keyboard support. 2012-09-12 12:47:13 +02:00
Henri Verbeet faaf3d388e user32: Add rawinput mouse support. 2012-09-11 18:06:34 +02:00
Henri Verbeet 5befb959dd user32: Implement RegisterRawInputDevices(). 2012-09-10 11:44:19 +02:00
Alexandre Julliard 36c76dcc24 winex11: Update only the key state on KeymapNotify without sending fake key events. 2012-02-02 17:19:34 +01:00
Alexandre Julliard 02442b52a4 user32: Return the cursor position in send_hardware_message and use it to update the driver's position. 2012-01-09 12:14:36 +01:00
Alexandre Julliard 5a30e31806 server: Optionally return the global key state when queueing a hardware message. 2011-12-15 14:46:53 +01:00
Marcus Meissner df92979b39 server: Removed NULL check after usage (Coverity). 2011-09-23 12:38:54 +02:00
Francois Gouget ff8f6e8662 user32: When destroying a window, preserve the first WM_QUIT message that was posted to it. 2011-08-23 11:50:59 +02:00
Vincent Povirk 79556aeab7 server: Implement QS_HOTKEY. 2011-07-06 19:43:26 +02:00
Marcus Meissner 67320c448b server: Do not promote lparam to signed int (Coverity). 2011-06-28 11:57:51 -05:00
Alexandre Julliard 6b0d9ff1cd server: Allow setting a zero-size clip rectangle. 2011-06-21 15:04:24 +02:00
Vincent Povirk cc0ea69867 server: Post WM_HOTKEY when a hotkey is pressed. 2011-06-21 14:51:14 +02:00
Vincent Povirk 4c83138f72 server: Implement RegisterHotKey/UnregisterHotKey. 2011-06-21 14:51:08 +02:00
Alexandre Julliard f6b0ce3c44 server: Don't queue low-level hooks to a hung queue. 2011-06-17 11:54:43 +02:00
Alexandre Julliard 8aa1a26886 user32: Pass a NULL rectangle in the ClipCursor entry point when clipping is reset because of focus change. 2011-04-22 17:51:28 +02:00
Alexandre Julliard abe5440e32 server: Also return the previous cursor position in the set_cursor request. 2011-04-20 20:29:16 +02:00
Alexandre Julliard 3909f51122 server: Don't queue a hardware WM_MOUSEMOVE if the position hasn't changed. 2011-04-06 21:07:04 +02:00
Alexandre Julliard 34b8c639ce server: Warp the mouse inside the clipping rectangle when it's set. 2011-04-06 20:36:36 +02:00
Alexandre Julliard 39bac05188 server: Queue a WM_MOUSEMOVE message when the cursor position is explicitly changed. 2011-04-06 20:29:38 +02:00
Alexandre Julliard 9c8bbcd1cd server: Fix a memory leak. 2011-04-06 20:00:40 +02:00
Alexandre Julliard 21e86f60ec server: Post a message to the desktop window when the cursor clip rectangle changes. 2011-04-05 13:36:57 +02:00
Alexandre Julliard 6576703fac server: Return the time of last change along with the current cursor position. 2011-03-31 20:15:56 +02:00
Alexandre Julliard c64c36f573 server: Store all desktop cursor information in a separate structure. 2011-03-31 19:54:22 +02:00
Alexandre Julliard 2b96875b6a server: Reset the cursor clip rectangle when the foreground thread changes. 2011-03-30 13:28:04 +02:00
Alexandre Julliard 0b8571e3dc server: Fix checking of X button flags when updating the input key state. 2011-03-07 23:48:03 +01:00
Alexandre Julliard 34efca05c9 server: Fix the contents of the mouse data for the low-level hook. 2011-03-07 11:07:35 +01:00
Alexandre Julliard c7efa293f0 server: Invoke low-level hardware hooks directly from the server side. 2011-03-02 21:26:13 +01:00
Alexandre Julliard 0f18d2bb09 server: Set the message code for mouse input on the server side. 2011-03-02 11:59:38 +01:00
Alexandre Julliard 9731d44921 server: Set the message code for keyboard input on the server side. 2011-03-02 11:34:59 +01:00
Alexandre Julliard 02e30f5f77 server: Pass the original hardware input data to the server and set the message parameters on the server side. 2011-03-02 11:34:15 +01:00
Alexandre Julliard bc4afb0786 server: Don't pass a thread id to send_hardware_message, determine it from the window. 2011-03-01 13:21:58 +01:00
Alexandre Julliard 22468ec65c server: Maintain the "set since last time" bit for the global keystate. 2011-02-28 22:28:21 +01:00
Alexandre Julliard b9e4b5a28c server: Fill the key state in mouse events from the server-side state. 2011-02-28 21:37:09 +01:00
Alexandre Julliard 06b78feade server: Store the global key state in the server. 2011-02-25 13:50:25 +01:00
Alexandre Julliard 02e8174067 server: Store the cursor clip rectangle in the server. 2011-02-25 13:50:19 +01:00
Alexandre Julliard 183c41b49a server: Store the global cursor position in the server. 2011-02-25 11:25:15 +01:00
Alexandre Julliard ac4aac747c server: Make the foreground thread input per-desktop instead of global. 2011-02-25 11:19:46 +01:00
Dmitry Timoshkov 66e981ec8d server: Make layered windows transparent for mouse messages. 2010-06-11 14:16:03 +02:00