Commit Graph

216 Commits

Author SHA1 Message Date
Alexandre Julliard 1adbfe921b winex11: Don't free a variable that is no longer allocated on the heap. 2012-06-04 12:17:55 +02:00
Alexandre Julliard c2073b7ba2 winex11: Use the create_pixmap_from_image helper to create window icons. 2012-05-15 20:58:39 +02:00
Alexandre Julliard a708448725 winex11: Define an enum to manage the various types of GL device contexts. 2012-05-07 13:10:18 +02:00
Alexandre Julliard fdef173ce0 winex11: Make sure the clip window is created as soon as possible. 2012-02-13 20:52:03 +01:00
Alexandre Julliard abfed909b2 winex11: Move the window resizing support to mouse.c. 2012-02-01 16:42:48 +01:00
Alexandre Julliard a534925a48 winex11: Reset clipping when a fullscreen window is unmapped. 2012-01-31 13:45:04 +01:00
Matteo Bruni b4afbf98cf winex11: Don't put the GL drawable offscreen. 2012-01-25 11:28:02 +01:00
Dmitry Timoshkov c0cf49d50c winex11.drv: Use dialog window type also for owned windows with WS_EX_DLGMODALFRAME style set. 2012-01-19 21:08:51 +01:00
Kusanagi Kouichi f56e1fcf7c winex11.drv: Assign struct. 2012-01-11 17:47:35 +01:00
Alexandre Julliard c1297ac0d8 winex11: Only take managed popups into account when deciding whether to make a window managed. 2011-12-19 20:15:41 +01:00
Alexandre Julliard c4cf90246d winex11: Hardcode the MWM hints for the desktop window. 2011-12-19 20:15:41 +01:00
Alexandre Julliard 5f1f57ce48 winex11: Update MWM hints when the window size changes. 2011-12-16 12:08:08 +01:00
Ulrich Czekalla 392785965f winex11: Avoid grabbing user_section while holding X11DRV_CritSection. 2011-11-28 20:15:18 +01:00
Alexandre Julliard 098b11e995 winex11: Don't allow setting the cursor across processes while clipping. 2011-11-09 14:26:34 +01: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 a07b8411fc winex11: Export a couple of helper functions for window rectangles. 2011-05-11 12:09:12 +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 d2ff461615 winex11: Clip out the top-level windows when repainting the desktop. 2011-04-22 12:16:33 +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 2ed57f9b96 winex11: Make sure the clipping window is initialized in every thread. 2011-04-14 17:13:41 +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 ae2b356361 winex11: Implement cursor clipping using a pointer grab. 2011-04-05 13:36:57 +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 b1af55d551 winex11: Don't unmap off-screen windows on PropertyNotify events. 2011-03-07 15:11:10 +01:00
Alexandre Julliard 94fb0f5935 winex11: Synchronize the mouse cursor in update_mouse_state. 2011-02-24 12:16:54 +01:00
Dmitry Timoshkov 38167e71d1 winex11.drv: Make sure that default clipping region exists before calling ExcludeUpdateRgn(). 2011-02-01 18:14:08 +01:00
Alexandre Julliard 66814d0dd6 winex11: Make the tool window flag take precedence when setting the window type.
This prevents some menus from being marked as dialogs.
2010-12-28 16:35:40 +01:00
Alexandre Julliard 477c085e4d winex11: Potentially update the system tray notification position when any foreign window is moved. 2010-12-15 17:17:39 +01:00
Alexandre Julliard 026d41c504 winex11: Only map the window the first time that WS_VISIBLE is set through WM_SETREDRAW. 2010-12-09 19:45:34 +01:00
Alexandre Julliard 20bc10c354 winex11: Properly forget about a foreign window when it's destroyed through DestroyWindow(). 2010-11-15 20:41:07 +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 abb559dd7a winex11: Add support for having a drawable associated to non-toplevel windows. 2010-11-08 15:46:34 +01:00
Alexandre Julliard a8063e8b8b winex11: Handle GravityNotify events for non-toplevel windows. 2010-11-08 15:24:00 +01:00
Alexandre Julliard 8f24cd05b1 winex11: Sync the window attributes when switching a window to embedded. 2010-11-05 17:15:34 +01:00
Alexandre Julliard 68f497bdcc winex11: Improve management of the lifetime of embedded windows. 2010-11-02 10:32:40 +01:00
Alexandre Julliard 536fc57091 winex11: Force setting the cursor again on the first mouse event in case the initial setting failed. 2010-09-30 17:51:18 +02:00
Alexandre Julliard 5594c4eba8 winex11: Mirror the window region for RTL windows. 2010-09-27 21:06:38 +02:00
Dmitry Timoshkov 7864ade5a8 winex11.drv: Avoid copying invalid window bits. 2010-09-14 09:43:09 -05:00
Dmitry Timoshkov c912af04de winex11.drv: Avoid copying window bits if the window didn't move. 2010-09-14 09:43:03 -05:00
Alexandre Julliard 7295b6746d user32: Add support for fetching window rectangles relative to various origins. 2010-09-07 14:31:30 +02:00
Alexandre Julliard a4704d3d14 winex11: Sending a move/resize client message to the root requires a SubstructureRedirect mask too. 2010-08-01 20:06:05 +02:00
Dmitry Timoshkov a56df96a0e winex11: Remember last window that had the XIC focus and use it in ToUnicode() to make dead keys work more reliably. 2010-07-26 18:38:31 +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
Alexandre Julliard 0dd44a3776 winex11: Windows with WS_EX_NOACTIVATE style shouldn't be on the taskbar. 2010-06-01 13:37:48 +02:00
Alexandre Julliard 2db72e9859 winex11: Only unmap windows when the window rect changes to unmapped the first time. 2010-05-28 16:22:26 +02:00
Alexandre Julliard 61e50e15ba winex11: Map zero-size windows and set an empty window region for them. 2010-05-28 16:22:25 +02:00
Alexandre Julliard 81c4b4120d winex11: Set size hints to 1x1 for zero-sized windows. 2010-05-28 16:22:25 +02:00