Commit Graph

179 Commits

Author SHA1 Message Date
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
Alexandre Julliard 8b84d64075 winex11: Set window style to normal for windows with a minimize box.
Some window managers don't allow minimizing dialog windows.
2010-05-28 16:22:25 +02:00
Alexandre Julliard 2cf9cdd3d8 winex11: Unmap zero-size windows also while processing a PropertyNotify event. 2010-05-24 16:41:20 +02:00
Alexandre Julliard 0d84ccbfa1 winex11: Fix a bitmap leak when setting the small icon hints. 2010-05-20 17:37:28 +02:00
Alexandre Julliard 1afd0df7de winex11: Take into account the cursor show count when setting the initial cursor for a window. 2010-05-10 12:33:59 +02:00
Alexandre Julliard 6551553fe6 winex11: Make the cursor window global instead of per-thread, and send it a message when the cursor changes. 2010-04-29 10:19:29 -05:00
Alexandre Julliard 09dc6019b6 winex11: Don't set a hint for the small icon if it has the same size as the large one. 2010-04-22 14:47:57 +02:00
Alexandre Julliard 9ff982f2a8 winex11: Invert the icon mask only after the conversion to ARGB. 2010-04-22 14:16:44 +02:00
Alexandre Julliard eed9c63ac7 winex11: Update the cursor from the thread input status instead of caching it per-thread in x11drv. 2010-04-21 11:07:45 +02:00
Alexandre Julliard f84f939411 winex11: Fix memory leaks in get_bitmap_argb. 2010-04-20 16:21:37 +02:00
Alexandre Julliard a551dfe311 winex11: Add the small icon to the NET_WM_ICON hint. 2010-04-19 17:59:09 +02:00
Alexandre Julliard f0644c6d07 winex11: Generate an alpha channel from the bitmask for icons that don't have one. 2010-04-19 17:54:43 +02:00
Alexandre Julliard 4253120745 winex11: Move creation of an ARGB bitmap for icons to a separate function. 2010-04-19 17:53:24 +02:00
Alexandre Julliard ea1d71c7a4 winex11: Set the NET_WM_ICON hint for 32-bpp icons. 2010-04-16 16:23:33 +02:00
Henri Verbeet 3255b21456 winex11.drv: Allow OpenGL on minimized windows. 2010-04-12 11:38:05 +02:00
Dmitry Timoshkov e35e75b4bf winex11.drv: Do not allow WM actions for windows with WS_DISABLED style set.
Some applications do not expect and could have undefined behaviour (or even
crash) when a not active (and disabled) main window under a dialog popup is
being closed or minimized/maximazed. Most of Window Managers allow that, but
Windows doesn't.
2010-04-07 13:51:21 +02:00
Alexandre Julliard b6ef8a5944 winex11: Don't make the owner window managed if its popup isn't. 2010-03-20 20:16:42 +01:00
Vincent Povirk e4a50e1615 winex11.drv: Use CurrentTime to focus windows if we have no timestamp. 2010-03-18 10:22:59 +01:00
Alexandre Julliard 9cd1ce2510 winex11: Don't try to create the owner window if it belongs to a different thread. 2010-03-01 17:06:19 +01:00
Alexandre Julliard 913cab1353 winex11: Switch owner window to managed when displaying one of its popups. 2010-02-23 12:35:10 +01:00
Alexandre Julliard 391afac66f winex11: Windows that own popups should be managed. 2010-02-23 12:34:19 +01:00
Alexandre Julliard 7b3a00c09e winex11: Make sure that the owner window exists when setting the transient for attribute. 2010-02-23 12:33:01 +01:00
Kusanagi Kouichi 10789142fc winex11.drv: Check XDND version. 2010-02-22 11:55:42 +01:00
Alexandre Julliard bcf88b5885 winex11: Fix the DC rect offset for a released DC. 2010-02-16 12:37:42 +01:00
Alexandre Julliard 08b8325460 winex11: Shape offset must be relative to the window position. 2010-02-08 17:49:47 +01:00
Alexandre Julliard 4c7b8ca524 winex11: Update the window shape offset when the window rect changes. 2010-02-04 17:27:19 +01:00
Alexandre Julliard aa47784130 winex11: Synchronize the shaped flag with the window region before determining the window size. 2010-02-02 20:28:21 +01: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 05f00f4ed8 winex11.drv: Allow windows in a virtual desktop to have X focus. 2009-11-12 14:39:14 +01: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 e3720c2810 winex11: Use the Globally Active focus model with take focus. 2009-08-13 18:18:33 +02:00
Alexandre Julliard edebc2b75f winex11: Try to use the correct window rectangle as far as possible at XCreateWindow time. 2009-06-25 12:10:44 +02:00
Alexandre Julliard a4644f126b winex11: Limit window dimensions to 65535 to avoid 16-bit truncation issues. 2009-05-05 15:36:25 +02:00
Andrew Talbot f63ceec432 winex11.drv: Declare some functions static. 2009-01-30 11:43:41 +01:00
Alexandre Julliard 95cf00f30b winex11: Flush the display after releasing the capture to make sure it happens right away. 2009-01-26 15:12:55 +01:00
Vincent Povirk 538cf8b847 winex11: Select StructureNotifyMask input on all windows. 2009-01-10 17:43:11 +01:00
Damjan Jovanovic 3613b15785 winex11: Support the startup notification fd.o spec. 2009-01-07 14:17:46 +01:00
Maarten Lankhorst 0a6459598a user32/winex11.drv: Change all user32 operations to use CDECL. 2008-12-23 13:06:04 +01:00