Commit Graph

80 Commits

Author SHA1 Message Date
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