Commit Graph

143 Commits

Author SHA1 Message Date
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
Alexandre Julliard 12d1ff8ef6 winex11: Add handling of take focus event on the desktop window. 2009-08-17 16:32:45 +02:00
Alexandre Julliard eafc9caa80 winex11.drv: Don't give focus to a minimized window upon take focus. 2009-04-23 12:41:57 +02:00
Vincent Povirk 538cf8b847 winex11: Select StructureNotifyMask input on all windows. 2009-01-10 17:43:11 +01:00
Maarten Lankhorst 0a6459598a user32/winex11.drv: Change all user32 operations to use CDECL. 2008-12-23 13:06:04 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Michael Stefaniuc 82a3c433b3 winex11.drv: Remove some superfluous casts. 2008-12-01 12:57:00 +01:00
Alexandre Julliard 8e7dad93ef winex11: Compare the window position against the cached position in ConfigureNotify. 2008-09-17 21:17:12 +02:00
Alexandre Julliard ecf579b8c4 winex11: Ignore the initial WM_STATE transition out of withdrawn state. 2008-09-17 21:17:11 +02:00
Alexandre Julliard ec4cc7f76b winex11: Remove debug hack that slipped into commit a4a5a2ec12. 2008-09-11 20:19:11 +02:00
Alexandre Julliard 370368aace winex11: Moved the X11DRV_WindowMessage function to window.c. 2008-09-08 15:42:24 +02:00
Alexandre Julliard 4a69797c43 winex11: Also check the maximized when restoring a minimized window. 2008-07-31 17:12:16 +02:00
Alexandre Julliard aca0296879 winex11: Check for wm maximized state in ConfigureNotify and update the window state accordingly. 2008-07-31 17:11:28 +02:00
Alexandre Julliard 8d77c375b2 winex11: Send WM_SYSCOMMAND instead of calling ShowWindow directly to minimize/restore a window. 2008-07-31 12:08:38 +02:00
Alexandre Julliard 31b4061c9b winex11: Fetch the current X window position on ShowWindow resulting from a window manager event.
This ensures that we get the correct size for maximized windows too,
which cannot be done with SetWindowPlacement.
2008-07-31 11:40:49 +02:00
Aric Stewart a4a5a2ec12 winex11: Allow for sane SCIM im processing by processing some filtered KeyRelease events. 2008-07-10 12:30:56 +02:00
Alexandre Julliard e705764cca winex11: Pass the display as parameter to a few more functions instead of using thread_display(). 2008-06-26 16:20:02 +02:00
Andrew Talbot 5156219a1c winex11.drv: Remove unused variables. 2008-05-02 16:08:15 +02:00
Alexandre Julliard 855308fd95 winex11: Merged the contents of winpos.c into window.c. 2008-04-23 15:32:58 +02:00
Alexandre Julliard 31ed6473be winex11: Moved the ConfigureNotify handler to event.c. 2008-04-22 16:56:31 +02:00
Alexandre Julliard 64e8128409 winex11: Moved the MapNotify handler to event.c. 2008-04-17 16:13:12 +02:00
Alexandre Julliard 585da9296d winex11: Moved the ExposeEvent handler to event.c.
Use consistent naming for all event handlers.
2008-04-17 16:09:26 +02:00
Alexandre Julliard 3bfa90eeda winex11: Fix handling of property sizes for 64-bit platforms. 2008-04-07 11:41:54 +02:00
Alexandre Julliard 86675edfee winex11: Replace the lock_changes flag by a check on the event currently being processed. 2008-04-02 16:43:49 +02:00
Alexandre Julliard a442d3b46d winex11: Rely on PropertyNotify events instead of Map/UnmapNotify to detect iconification. 2008-04-02 15:59:12 +02:00
Alexandre Julliard f89aa12829 winex11: Move handling of WM_STATE changes to a separate function, and call it directly from wait_from_withdrawn_state. 2008-04-02 15:55:25 +02:00
Alexandre Julliard 5977c72325 winex11: Store a pointer to the X11 event currently being handled instead of a simple count. 2008-03-13 13:35:02 +01:00
Alexandre Julliard e874fded99 winex11: Discard ConfigureNotify events even if the intervening events are for other windows. 2008-03-11 19:50:27 +01:00
Alexandre Julliard 0118e0d0f1 winex11: Add support for merging redundant events, and use it for ConfigureNotify and MotionNotify. 2008-03-11 12:11:52 +01:00
Alexandre Julliard d0e14bf709 winex11: Wait for a window to move out of withdrawn state before withdrawing it again. 2008-03-05 16:52:22 +01:00
Alexandre Julliard 3b6f95c663 winex11: Add a DestroyNotify handler to catch a situation that is not supposed to happen. 2008-03-05 16:51:09 +01:00
Alexandre Julliard 68fa3524f8 winex11: Get rid of direct accesses to the window structure in the drag&drop code. 2008-02-28 20:02:31 +01:00
Alexandre Julliard b76db19e88 winex11: Use XWithdrawWindow to unmap managed windows, and wait until they are withdrawn before mapping them again. 2008-02-27 19:13:09 +01:00
Alexandre Julliard 5a5344b4ad winex11: Added tracking of the WM_STATE window property. 2008-02-27 19:11:43 +01:00
Andrew Talbot 68feed7e77 winex11.drv: Remove unneeded casts. 2008-02-04 14:20:45 +01:00
Alexandre Julliard c19af910eb winex11.drv: Don't create a win_data structure for the desktop window, except in the process that owns it.
Handle desktop size changes by sending a message to the desktop owner.
2008-01-17 19:53:59 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00
Rob Shearman 486326ed48 include: Add more types and function declarations to the rpcasync.h header file.
Fix up a couple of conflicts with the Status field in the
RPC_EXTENDED_ERROR_INFO and the X Status define.
2007-12-18 12:32:55 +01:00
Chris Robinson d9571c9e6f wgl: Store the fbconfig id with the window when a pixel format is set. 2007-09-18 09:28:06 +02:00
Alexandre Julliard eaad370987 winex11: Don't try to activate the desktop window on take focus. 2007-08-16 23:43:58 +02:00
Vitaliy Margolen d836a50621 winex11drv: Correctly react to focus loss away from Wine. 2007-07-23 11:53:17 +02:00
Lei Zhang e20625e5c9 winex11.drv: Reset focus if application does not want to be activated. 2007-06-22 12:28:45 +02:00
Lei Zhang 9a67bded8c winex11.drv: Send WM_MOUSEACTIVATE before closing a window. 2007-06-21 16:39:02 +02:00
Andrew Talbot 080635bdeb winex11.drv: Exclude unused headers. 2007-05-29 12:10:21 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Alexandre Julliard 072698c953 winex11.drv: Store the display file descriptor directly in the server message queue.
Get rid of a few WaitForMultipleObjectsEx hacks.
2007-04-04 18:02:53 +02:00
Andrew Talbot a33f71a32d winex11.drv: Replace inline static with static inline. 2007-03-17 20:04:54 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Vitaliy Margolen 6069d0d596 winex11drv: Win64 printf format warning fixes. 2006-10-09 15:23:33 +02:00
Roderick Colenbrander 98179f0656 winex11.drv: Kill DGA support. 2006-07-29 11:46:58 +02:00
Dmitry Timoshkov 2280f1af79 winex11.drv: Protect X11 calls by a critical section. 2006-07-10 11:48:01 +02:00
Dmitry Timoshkov 8fb90dea3c winex11.drv: Add window style and visibility status to the take focus event trace. 2006-07-07 13:26:44 +02:00
Alexandre Julliard bdb4fab7a7 x11drv: Renamed the x11drv directory to winex11.drv. 2006-06-16 09:57:50 +02:00