Commit Graph

1147 Commits

Author SHA1 Message Date
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
Matteo Bruni 716df1c2d2 winex11.drv: Make wglMakeCurrent return the correct error when the drawable is invalid. 2011-03-30 13:28:04 +02:00
Matteo Bruni 77679c4e9c winex11.drv: Don't modify current state if glXMakeCurrent fails. 2011-03-30 13:28:04 +02:00
Joshua Beck ddada67538 winex11: Improved error handling in pglXMakeCurrent() call. 2011-03-29 12:23:16 +02:00
Dmitry Timoshkov 5ef58c11ce winex11.drv: Do not use any window types except _NET_WM_WINDOW_TYPE_NORMAL.
Main window of the Atom Zombie Smasher game has WS_DLGFRAME style set,
but Metacity allows making fullscreen ONLY normal windows, so do not
use any window types except _NET_WM_WINDOW_TYPE_NORMAL.
2011-03-29 12:21:22 +02:00
Alexandre Julliard 3d34f01f3c gdi32: Add null driver entry points for StretchBlt and AlphaBlend. 2011-03-18 16:05:09 +01:00
Alexandre Julliard 8e396a9417 winex11: Implement a separate entry point for PatBlt and simplify the StretchBlt handling. 2011-03-17 14:49:16 +01: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
Alexandre Julliard 6419edfb6d gdi32: Add a mechanism for stacking gdi drivers. 2011-03-10 12:38:31 +01:00
Alexandre Julliard 5f5c7020f3 gdi32: Add a common header to the physdev structure. 2011-03-08 22:34:57 +01:00
Alexandre Julliard 383bda91cf user32: No longer export HOOK_CallHooks. 2011-03-08 14:50:47 +01:00