Commit Graph

157 Commits

Author SHA1 Message Date
Jacek Caban ecf9e9135d winex11.drv: Use grabbed window display in SetCapture.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:50 +09:00
Alexandre Julliard 49e1ba7d4b winex11: Ignore EnterNotify events that are older than the last mouse wrap.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 17:42:38 +09:00
Alexandre Julliard 9d237f97fc winex11: Add a helper function to check a motion event against the serial number.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 17:42:01 +09:00
Sebastian Lackner 0f3fa3965b winex11: Initialize thread data in clip_cursor_notify. 2015-08-05 23:42:42 +09:00
Francois Gouget 3adc91f3fc winex11.drv: Remove unneeded NONAMELESSXXX directives. 2015-04-01 14:13:09 +09:00
Jinhui Chen 366ed5495c winex11.drv: Fix row-resize/col-resize mapping to X cursor. 2015-03-25 19:44:33 +09:00
Sebastian Lackner 7714efe213 winex11: Only enable XInput2 cursor warp workaround if necessary.
Based on a patch by Patrick Rudolph.
2015-02-27 15:06:24 +09:00
Frédéric Delanoy 323bec99b3 winex11.drv: Use BOOL type where appropriate. 2013-11-29 13:32:46 +01:00
Alexandre Julliard 0f03f264b7 winex11: Add a helper function to return the primary monitor rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 9f1f29cc91 winex11: Add a helper function to return the virtual screen rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 0b71e0bf12 winex11: Add helper functions for converting between root and virtual screen coords. 2013-10-14 17:26:13 +02:00
Frédéric Delanoy ff7fc1fd45 winex11.drv: Use BOOL type where appropriate. 2013-10-02 11:06:39 +02:00
Henri Verbeet 76bbf106a2 winex11: Move the desktop process check from X11DRV_ClipCursor() to grab_clipping_window().
We don't want to clip in the desktop process, but we still need it to call
ungrab_clipping_window() if the process that was previously clipping didn't.
This can happen for example when fullscreen clipping is enabled, but the
corresponding window isn't explicitly destroyed before process exit.
2013-04-25 11:47:39 +02:00
Andrew Talbot 0ff8c9da52 winex11.drv: Avoid signed-unsigned integer comparisons. 2013-03-06 11:43:06 +01:00
Alexandre Julliard 77af9035d8 winex11: Fallback to the standard cursor font when XCursor is missing. 2013-01-17 15:33:09 +01:00
Alexandre Julliard 91ebca2bf1 winex11: Send WM_ENTERSIZEMOVE when starting to poll for a window move/resize. 2012-12-11 15:49:04 +01:00
Alexandre Julliard ed47a507d0 winex11: Send WM_EXITSIZEMOVE when the mouse has been released. 2012-12-10 20:30:29 +01:00
Henri Verbeet 73d68c5a31 winex11: Handle a NULL cursor clipping rect the same as a fullscreen rect.
We want to avoid ungrabbing the clipping window if "fullscreen clipping" is
enabled.
2012-09-28 11:26:33 +02:00
Alexandre Julliard 988f2fde86 winex11: Store the full visual info for the default visual. 2012-09-26 14:40:39 +02:00
Alexandre Julliard 0a9398421c winex11: Add a workaround for XInput support with mouse drivers that don't provide labels. 2012-09-26 14:40:38 +02:00
Alexandre Julliard 1cfed8922e winex11: Add window data locking to the mouse functions. 2012-09-18 14:47:01 +02:00
Alexandre Julliard c8ea1e50dc winex11: Avoid passing a window data structure to functions that can send messages. 2012-09-17 12:42:21 +02:00
Alexandre Julliard 2967599286 winex11: Don't select for mouse events on the client window. 2012-08-30 12:57:45 +02:00
Alexandre Julliard cf1be58706 winex11: Remove the remaining X11 locking calls. 2012-08-16 16:48:00 +02:00
Alexandre Julliard c970621d90 winex11: Create contexts at initialization time to avoid the need for locks. 2012-08-16 14:34:00 +02:00
Alexandre Julliard ff60249cab winex11: Use the labels to find the mouse motion valuators for XInput2. 2012-08-16 10:27:19 +02:00
Alexandre Julliard f579091380 winex11: Store XInput2 device info in the thread data. 2012-08-16 10:25:49 +02:00
Alexandre Julliard 6f6217e9a4 winex11: Remove remaining X11 locking around graphics calls. 2012-08-14 15:13:21 +02:00
Alexandre Julliard 6bfcb347bf winex11: Remove X11 locking around simple X calls. 2012-08-14 15:13:08 +02:00
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