Commit graph

128 commits

Author SHA1 Message Date
Alexandre Julliard
8ee12778f9 winex11: Use the create_pixmap_from_image helper to create monochrome cursors. 2012-05-15 17:02:09 +02:00
Alexandre Julliard
70a9bb9518 winex11: Use the create_pixmap_from_image helper to create color cursors. 2012-05-15 17:02:08 +02:00
Francois Gouget
fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard
7c7a509e22 winex11: Never try to clip the cursor if we don't have XInput2. 2012-03-12 10:44:02 +01:00
Alexandre Julliard
852687f1d1 winex11: Poll the mouse button to detect the end of a window manager move/resize. 2012-02-01 16:42:49 +01:00
Alexandre Julliard
abfed909b2 winex11: Move the window resizing support to mouse.c. 2012-02-01 16:42:48 +01:00
Alexandre Julliard
1592b9c9de winex11: Disallow clipping to fullscreen rectangle if XInput2 is not available. 2012-01-30 20:44:49 +01:00
Alexandre Julliard
b90be52cdd winex11: Scale raw motion events according to their valuator range. 2011-12-21 10:58:25 +01:00
Alexandre Julliard
126bb92717 winex11: Keep the device info around as long as XInput2 is active. 2011-12-21 10:57:57 +01:00
Alexandre Julliard
bd44f10496 winex11: Make sure we create valid bitmaps even for a 1x1 mask. 2011-11-16 18:21:21 +01:00
Alexandre Julliard
9716d1c861 winex11: Still process all MotionNotify events when using XInput2. 2011-11-09 15:45:13 +01:00
Alexandre Julliard
ef292465be winex11: Use the motion event time to decide when to update the cursor. 2011-11-09 14:53:34 +01:00
Alexandre Julliard
098b11e995 winex11: Don't allow setting the cursor across processes while clipping. 2011-11-09 14:26:34 +01:00
Huw Davies
82f4538c55 winex11: Initialise the dib color table. 2011-10-05 11:37:30 -05:00
Alexandre Julliard
dc1056284f winex11: Make sure the cursor bitmaps are owned by x11drv. 2011-09-14 14:53:59 +02:00
Alexandre Julliard
dc801b9831 winex11: Create a new message window every time we change clipping to avoid stale notifications. 2011-07-18 21:19:55 +02:00
William Pettersson
266cd6c46a winex11: Add grab for XInput2 ButtonPress event. 2011-07-11 11:53:52 +02:00
Alexandre Julliard
6b0d9ff1cd server: Allow setting a zero-size clip rectangle. 2011-06-21 15:04:24 +02:00
Alexandre Julliard
b3946a0a59 winex11: Don't enable XInput for devices reporting absolute coordinates. 2011-06-21 14:51:15 +02:00
Alexandre Julliard
adb86c5f2a winex11: Try harder to ignore broken raw motions events caused by pointer warping. 2011-06-20 19:32:05 +02:00
Alexandre Julliard
d1f5c13162 winex11: Filter out motion events resulting from setting the clip window. 2011-05-16 16:35:31 +02:00
Alexandre Julliard
0e2b4f99a9 winex11: Warp the pointer when clipping, but ignore the resulting events. 2011-05-16 16:35:31 +02:00
Alexandre Julliard
9556b4f7db winex11: Don't wait for the foreground window to start clipping in ClipCursor. 2011-05-16 16:35:31 +02:00
Alexandre Julliard
e52e57d133 winex11: Try a little harder to clip the cursor to avoid some race conditions. 2011-05-13 16:44:09 +02:00
Alexandre Julliard
8e9b4e0a5c winex11: Allow MotionNotify events through occasionally while XInput is active. 2011-05-13 16:19:45 +02:00
Alexandre Julliard
fd4ad5a604 winex11: Don't use raw events for button events so that we get the right coordinates. 2011-05-13 12:41:12 +02:00
Alexandre Julliard
b081ee452d winex11: Only update the fullscreen pointer grab when something has changed. 2011-05-12 16:24:58 +02:00
Alexandre Julliard
ae52a8c2cb winex11: Add an option to automatically clip the pointer in desktop and multi-monitor modes. 2011-05-11 14:56:20 +02:00
Alexandre Julliard
a59c7cc859 winex11: Automatically clip the pointer when the foreground window is full-screen. 2011-05-11 14:55:57 +02:00
Alexandre Julliard
a28722f531 winex11: Reset the clipping when the desktop window loses focus. 2011-05-11 12:07:37 +02:00
Alexandre Julliard
57fc5e7fcc winex11: Fix check for desktop process in non-desktop mode. 2011-05-05 16:31:58 +02:00
Alexandre Julliard
84f085fb91 winex11: Grab the mouse in the thread that owns the foreground window if possible. 2011-04-28 16:47:14 +02:00
Alexandre Julliard
da9922b40d winex11: Ignore MotionNotify events if we have pending RawMotion events. 2011-04-27 16:00:02 +02:00
Alexandre Julliard
897fdfd423 winex11: Refuse to clip cursor to a 1x1 window if we don't have XInput2 support. 2011-04-26 15:31:30 +02:00
Alexandre Julliard
f1f223d001 winex11: Release the clip cursor grab when the clipping window loses focus. 2011-04-25 10:49:59 +02:00
Alexandre Julliard
33c491eb84 winex11: Allow changing the clipping rectangle while the mouse is grabbed. 2011-04-22 17:51:29 +02:00
Alexandre Julliard
a292220e1d winex11: Add separate helper functions for pointer grabbing and ungrabbing. 2011-04-22 17:51:28 +02:00
Alexandre Julliard
0eb19126e5 winex11: Store a message window with the desktop when the cursor is clipped.
This ensures that the thread can be notified when the clip rectangle is reset.
2011-04-22 17:51:28 +02:00
Alexandre Julliard
2ed57f9b96 winex11: Make sure the clipping window is initialized in every thread. 2011-04-14 17:13:41 +02:00
Alexandre Julliard
bd3ec1a973 winex11: Retrieve raw mouse events through XInput2 while the cursor is clipped. 2011-04-14 12:08:37 +02:00
Alexandre Julliard
338fe8b9ac winex11: Add handlers for the XInput2 raw mouse events. 2011-04-13 18:56:37 +02:00
Alexandre Julliard
b1be3ddbc6 winex11: Build the mouse input structure directly in the mouse event handlers. 2011-04-13 14:13:51 +02:00
Alexandre Julliard
06948ebccf winex11: Update the cursor on the clip window when the pointer grab starts. 2011-04-06 13:10:44 +02:00
Alexandre Julliard
ecf217bbe4 winex11: Update the cursor on the clipping window while it's mapped. 2011-04-05 13:36:57 +02:00
Alexandre Julliard
886ae4c348 winex11: Always forward SetCursor to the driver, and limit the frequency of updates on the driver side. 2011-04-05 13:36:57 +02:00
Alexandre Julliard
4d358bfee3 winex11: Add an option to disable pointer grabs. 2011-04-05 13:36:57 +02:00
Alexandre Julliard
ae2b356361 winex11: Implement cursor clipping using a pointer grab. 2011-04-05 13:36:57 +02:00
Gerald Pfeifer
4d93675332 winex11.drv: Initialize a variable in create_xcursor_frame to silence a warning. 2011-04-04 14:50:28 +02:00
Erich Hoover
eddffff780 winex11: Add support for retrieving multi-rate animated cursor data. 2011-03-10 15:36:55 +01:00
Henri Verbeet
7b0a3128fb winex11: Remove a redundant forward declaration. 2011-03-10 12:53:24 +01:00