Commit Graph

1158 Commits

Author SHA1 Message Date
Alexandre Julliard adb86c5f2a winex11: Try harder to ignore broken raw motions events caused by pointer warping. 2011-06-20 19:32:05 +02:00
Huw Davies 129021a0ab winex11: Move the code that checks for a colortable based dib to a separate function. 2011-06-06 21:49:21 +02:00
Marcus Meissner 5a9b623212 winex11.drv: Mark internal symbols with hidden visibility. 2011-05-25 11:49:52 +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 2e46c671d6 winex11: Set the desktop window gravity to NorthWest to avoid spurious position changes. 2011-05-12 16:25:50 +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 a07b8411fc winex11: Export a couple of helper functions for window rectangles. 2011-05-11 12:09:12 +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
Marcus Meissner ea85bc9509 winex11.drv: Assertion was 1 off (Coverity). 2011-05-02 12:38:13 +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 bab850389a winex11: Merge consecutive RawMotion events. 2011-04-27 16:00:50 +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 d2ff461615 winex11: Clip out the top-level windows when repainting the desktop. 2011-04-22 12:16:33 +02:00
Dmitry Timoshkov f339b6c0f1 winex11.drv: Make sure that all relevant keyboard traces are printed in the same debug channel. 2011-04-20 16:34:25 +02:00
Dmitry Timoshkov fd043c5644 winex11.drv: Use dialog window type again for owned popup windows. 2011-04-20 16:29:33 +02:00
Alexandre Julliard 55bfd2ef0d winex11: Allow installing the event handler multiple times. 2011-04-19 18:29:24 +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
Austin English 846ba03867 winex11.drv: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:54 +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 a8575a8b4d winex11: Add infrastructure for managing the extra data of generic extension events. 2011-04-13 14:13:29 +02:00
Huw Davies b295b53630 winex11: Don't use the bitfields for the BI_RGB case. 2011-04-12 17:42:12 +02:00
Alexandre Julliard f13c65b4f5 winex11: Get rid of the old ddraw HAL support. 2011-04-12 17:42:12 +02:00
Dmitry Timoshkov 6eed4c4241 winex11: Move the SendMessage(WM_SYSCOMMAND, SC_MAXIMIZE/SC_RESTORE) call after the window extents check. 2011-04-08 17:11:21 +02:00
Alexandre Julliard 9c8911e342 winex11: Simplify the event handler lookup, and support names in debug traces for extension events. 2011-04-06 13:26:42 +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
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
Gerald Pfeifer 4d93675332 winex11.drv: Initialize a variable in create_xcursor_frame to silence a warning. 2011-04-04 14:50:28 +02:00
Matteo Bruni 1e0075cd61 winex11.drv: Take care of the destroyed drawable in wglFlush/wglFinish too. 2011-03-31 12:43:29 +02:00
Matteo Bruni 90608c8ce6 winex11.drv: Don't call glXSwapBuffers if the context or the drawable are invalid. 2011-03-31 12:43:22 +02:00
Matteo Bruni 1902e1cb93 winex11.drv: Fix wglMakeContextCurrent with an invalid drawable. 2011-03-31 12:42:35 +02:00
Matteo Bruni 868974c615 winex11.drv: Don't modify state if glXMakeContextCurrent fails. 2011-03-31 12:42:27 +02:00