Commit Graph

102 Commits

Author SHA1 Message Date
Alexandre Julliard cf1be58706 winex11: Remove the remaining X11 locking calls. 2012-08-16 16:48:00 +02:00
Alexandre Julliard 6bfcb347bf winex11: Remove X11 locking around simple X calls. 2012-08-14 15:13:08 +02:00
Alexandre Julliard 29c1b8fa08 winex11: Ignore FocusOut event on destroyed windows. 2012-03-09 11:37:15 +01:00
Alexandre Julliard 002f85a275 winex11: Don't give focus to zero-size windows. 2012-02-01 16:42:47 +01:00
Alexandre Julliard 9716d1c861 winex11: Still process all MotionNotify events when using XInput2. 2011-11-09 15:45:13 +01:00
Vincent Povirk 7a21d06295 winex11.drv: Process keyboard events when QS_HOTKEY is specified. 2011-07-06 19:43:52 +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 8e9b4e0a5c winex11: Allow MotionNotify events through occasionally while XInput is active. 2011-05-13 16:19:45 +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 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
Marcus Meissner ea85bc9509 winex11.drv: Assertion was 1 off (Coverity). 2011-05-02 12:38:13 +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 f1f223d001 winex11: Release the clip cursor grab when the clipping window loses focus. 2011-04-25 10:49:59 +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 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
Alexandre Julliard a8575a8b4d winex11: Add infrastructure for managing the extra data of generic extension events. 2011-04-13 14:13:29 +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 ecf217bbe4 winex11: Update the cursor on the clipping window while it's mapped. 2011-04-05 13:36:57 +02:00
Alexandre Julliard f46bd50a80 winex11: Get rid of the ClipCursor and SendInput entry points. 2011-03-03 17:34:53 +01:00
Alexandre Julliard 8f88d4fe78 winex11: Pass a window handle for keyboard hardware messages too. 2011-03-01 13:21:58 +01:00
Alexandre Julliard 94fb0f5935 winex11: Synchronize the mouse cursor in update_mouse_state. 2011-02-24 12:16:54 +01:00
Alexandre Julliard 10aa13a98e winex11: Fix event coordinates mapping for the root window in the explorer process. 2010-12-13 12:43:34 +01:00
Alexandre Julliard 30554d4ef1 user32: Check structure size in GetGUIThreadInfo. 2010-11-16 21:54:03 +01:00
Alexandre Julliard 5d570706c6 winex11: Create Win32 windows corresponding to all the ancestors of embedded windows.
This is needed to keep track of the embedded window position by
handling ConfigureNotify received by ancestors.
2010-11-08 15:46:49 +01:00
Alexandre Julliard a8063e8b8b winex11: Handle GravityNotify events for non-toplevel windows. 2010-11-08 15:24:00 +01:00
Alexandre Julliard 9bce7fcb87 winex11: Add support for receiving ConfigureNotify events on non-toplevel windows. 2010-11-08 15:20:51 +01:00
Alexandre Julliard cdaff0a918 winex11: Add support for receiving mouse events on non-toplevel windows. 2010-11-05 17:15:12 +01:00
Alexandre Julliard 5a4580730d winex11: Re-dock icons when the system tray owner has changed. 2010-11-02 10:32:40 +01:00
Alexandre Julliard 68f497bdcc winex11: Improve management of the lifetime of embedded windows. 2010-11-02 10:32:40 +01:00
Alexandre Julliard d39d2da065 winex11: Mirror the client rectangle if necessary for update_window_zorder. 2010-10-07 15:58:10 +02:00
Alexandre Julliard 6ee4521886 server: Pass the rectangle in client coordinates for update_window_zorder. 2010-09-27 21:12:49 +02:00
Alexandre Julliard f2f508856b winex11: Set the user time property on top-level windows.
Helps convince some broken window managers to put new windows on top
of the z-order.
2010-06-29 13:28:39 +02:00
Ken Thomases 4bcf7cbbf0 winex11: Allow setting focus on active window, if no focus window. 2010-06-25 10:25:41 +02:00
Paul Chitescu 02674b2b95 winex11.drv: Post a WM_SYSCOMMAND SC_CLOSE when the window manager asks to close a window. 2010-06-16 12:48:51 +02:00
Dmitry Timoshkov 167514ce94 winex11.drv: Simulate pressing Alt+F4 instead of clicking the caption Close button when handling the WM_DELETE_WINDOW event. 2010-05-28 16:22:25 +02:00
Alexandre Julliard ab111025c0 winex11: Don't send minimize/maximize sys commands to windows that are not supposed to get them. 2010-05-24 17:07:22 +02:00
Alexandre Julliard 5e60175c7a winex11: Flush the gdi display after processing the last event. 2010-04-22 18:11:41 +02:00
Alexandre Julliard 00b06dac85 winex11: Don't process ConfigureNotify events that have been superseded by a later configure request. 2010-01-04 17:56:32 +01:00
Vincent Povirk 6f9533feb1 winex11.drv: Use the old method to delete the desktop window. 2009-12-14 12:04:02 +01:00
Vincent Povirk 4622889bd5 winex11.drv: Ignore FocusOut events on virtual desktop windows.
We don't want to send WM_CANCELMODE or set the foreground window to the
desktop when a virtual desktop loses focus. It has its own focus independent
of X.
2009-11-12 14:39:54 +01:00
Vincent Povirk 6823f4aaf8 winex11.drv: Allow explorer to focus other process windows.
When explorer gets a take focus message, it tries to focus the foreground
window, but this doesn't work because set_focus can only focus windows in
the current process. We have to look for the focus window in the foreground
thread, not the current one, or we won't find the other process's windows.

Since the other process may crash at any time, causing its windows to be
destroyed, we also have to ignore the BadWindow error that will occur if that
happens at a critical time.
2009-11-12 14:39:39 +01:00
Alexandre Julliard 9ea4e18be6 winex11: Do not give focus to a WS_EX_NOACTIVATE window. 2009-10-23 12:25:22 +02:00
Alexandre Julliard 4c52a28e6b winex11: Use explicit prototypes for function pointers. 2009-10-02 15:06:59 +02:00
Dmitry Timoshkov 9dbdd708e3 winex11.drv: Handle WM_DELETE_WINDOW by simulating clicking the caption Close button. 2009-09-09 12:18:28 +02:00