Commit Graph

301 Commits

Author SHA1 Message Date
Jactry Zeng c2dc6f3ef2 winex11: Implement FlashWindowEx.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:27 +09:00
Thomas Faller 8c1c7d19fe winex11.drv: Fix uninitialized memory. 2015-08-28 13:15:18 +09:00
Vincent Povirk ce409c01d5 winex11.drv: Don't change net_wm maximized state for minimized windows.
In Win32, minimized windows are generally not considered maximized,
but restoring a minimized window that had been maximized returns it to
the maximized state.

In X11, at least with some window managers (I tested metacity and
gnome shell), the maximized state is meaningful for minimized windows.
If we remove the net_wm maximized state from windows we minimize, they
will still be unmaximized when the WM restores them.
2015-07-20 06:30:48 +02:00
Vincent Povirk 3d8353fe18 winex11.drv: Track external changes to _NET_WM_STATE in net_wm_state.
In some cases, WM's will modify the _NET_WM_STATE of our own windows.
Most notably, this can happen when the WM maximizes our window, but
mutter has been known to alter the fullscreen state as well. If we
want to reconfigure our window later, we'll probably have to remove
these states, which means we need to remember that they were set.
2015-07-02 20:38:54 +09:00
Dmitry Timoshkov bd24842eba winex11: Don't call ExcludeUpdateRgn for a window with WS_CLIPCHILDREN style. 2015-07-01 22:56:40 +09:00
Nikolay Sivov c0af3fad4e winex11: Remove unreachable XFreePixmap(), mask_pixmap is always NULL on failure (Coverity). 2015-06-03 19:55:12 +09:00
Alexandre Julliard 070a82e743 user32: Merge the AcquireClipboard and EmptyClipboard driver entry points. 2015-06-03 18:46:53 +09:00
Indrek Altpere 68e1fdf999 winex11: Fix uninitialized memory access appearing in multiple tests (Valgrind). 2015-05-28 22:44:07 +09:00
Vincent Povirk 5e5a9d6f93 winex11: Leave fullscreen state alone when minimizing. 2014-07-11 17:02:15 +02:00
Alexandre Julliard 6a0f3df68c user32: Don't bother returning a value from the SetWindowRgn driver entry point. 2014-05-01 12:31:14 +02:00
Ken Thomases 3e09763835 winex11: Remove dead store into win_gravity in get_window_attributes(). 2014-04-21 10:42:18 +02:00
Ken Thomases 809166def7 winex11: Remove set-but-never-read hwnd and fbconfig_id fields of struct x11drv_escape_set_drawable. 2014-04-01 10:44:57 +02:00
Ken Thomases eef81f5ecc winex11: Don't leak client window and colormap when pixel format is changed. 2014-03-11 19:39:23 +01:00
Frédéric Delanoy 323bec99b3 winex11.drv: Use BOOL type where appropriate. 2013-11-29 13:32:46 +01:00
Sebastian Lackner df6dc091e6 winex11: Implement additional XEMBED events. 2013-11-11 20:06:56 +01:00
Alexandre Julliard 13149b67d3 explorer: Create the driver desktop window after the window handle is created. 2013-10-16 12:13:50 +02:00
Alexandre Julliard 9f1f29cc91 winex11: Add a helper function to return the virtual screen rectangle. 2013-10-14 17:26:14 +02:00
Alexandre Julliard 0b71e0bf12 winex11: Add helper functions for converting between root and virtual screen coords. 2013-10-14 17:26:13 +02:00
Frédéric Delanoy ff7fc1fd45 winex11.drv: Use BOOL type where appropriate. 2013-10-02 11:06:39 +02:00
Sebastian Lackner e915cfd4e7 winex11: Call destroy_gl_drawable before destroying the window. 2013-09-30 20:36:33 +02:00
Sebastian Lackner 5fb74c48d1 winex11: Added missing release_win_data() to create_foreign_window(). 2013-09-25 11:54:52 +02:00
Alexandre Julliard ba54de6ed5 winex11: Don't use a surface if there is a client window.
We can't get clipping right for child windows if using a surface.
2013-06-11 18:07:42 +02:00
Alexandre Julliard 04ad06353d user32: Move the common parts of ScrollDC into user32 and the null driver. 2013-04-19 16:16:16 +02:00
Andrew Talbot 0ff8c9da52 winex11.drv: Avoid signed-unsigned integer comparisons. 2013-03-06 11:43:06 +01:00
Alexandre Julliard 4391deb930 winex11: Wait for the client window to be created on the server side. 2013-03-04 13:34:28 +01:00
Alexandre Julliard f15a5ff70f winex11: Explicitly set the border pixel when creating the client window. 2013-03-04 13:34:11 +01:00
Alexandre Julliard 76b8612c3e winex11: Preserve the client window when changing the window visual. 2013-02-13 17:19:40 +01:00
Alexandre Julliard 8373f8b6f6 winex11: Handle Expose events on top-level client windows. 2013-01-23 19:09:29 +01:00
Alexandre Julliard 951415b602 winex11: Store the client window in the window data again, now that it can be accessed from all threads. 2013-01-23 19:06:32 +01:00
Alexandre Julliard 3ad40bf647 winex11: Delay mapping a layered window until its attributes are set. 2012-10-29 14:39:55 +01:00
Alexandre Julliard 5fae649bdf winex11: Never use a surface for embedded windows, even for the parents. 2012-10-21 12:18:28 +02:00
Alexandre Julliard 0f71ff281f winex11: Get rid of the __wine_x11_managed property. 2012-10-15 16:19:09 +02:00
Alexandre Julliard 0bc93684f0 winex11: Move the icon window off-screen for managed windows. 2012-10-15 16:17:22 +02:00
Alexandre Julliard c6e0daa200 winex11: Recreate the GL drawable when changing the window parent. 2012-10-10 20:33:54 +02:00
Alexandre Julliard 47983d819f winex11: Create a surface even for OpenGL windows, to allow painting the non-client area. 2012-10-10 18:56:53 +02:00
Alexandre Julliard 20768173ba server: Add flags in the set_window_pos request to inform the server about the window surface. 2012-10-09 15:22:14 +02:00
Alexandre Julliard 2500e21a90 winex11: Hold a reference to the surface in UpdateLayeredWindow. 2012-10-04 10:34:41 +02:00
Alexandre Julliard 37f36b7326 winex11: Don't try to change the window visual if we don't have a valid ARGB visual. 2012-10-03 11:19:39 +02:00
Alexandre Julliard dbff4f422c winex11: Copy the existing surface bits when a dirty rectangle is specified in UpdateLayeredWindow. 2012-10-03 11:19:38 +02:00
Alexandre Julliard 4ac1a5ac60 winex11: Allow changing the pixel format of a window from a different thread. 2012-10-03 11:19:35 +02:00
Alexandre Julliard e03b8e1a1d winex11: Use ARGB layered windows for system tray icons when supported. 2012-10-02 14:08:37 +02:00
Alexandre Julliard d8247efd5e winex11: Take the alpha channel into account to compute the region of layered windows. 2012-10-02 14:08:37 +02:00
Alexandre Julliard f12c1c6630 winex11: Switch to an ARGB visual for layered windows with per-pixel alpha. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 8dcbeff760 winex11: Add support for per-window visuals. 2012-10-02 14:08:37 +02:00
Alexandre Julliard a81c23a450 winex11: Don't put window manager decorations on layered windows. 2012-10-02 14:08:37 +02:00
Alexandre Julliard 24eee97d21 user32: Add a driver entry point for UpdateLayeredWindow. 2012-10-01 13:20:20 +02:00
Alexandre Julliard 91b0ee56cf user32: Default to the dummy surface if the driver doesn't provide something else. 2012-10-01 13:09:27 +02:00
Alexandre Julliard 3c57f11374 winex11: Create a default colormap along with the default visual info. 2012-09-26 14:40:40 +02:00
Alexandre Julliard 988f2fde86 winex11: Store the full visual info for the default visual. 2012-09-26 14:40:39 +02:00
Alexandre Julliard 313157a036 winex11: Add window data structure locking to the remaining entry points. 2012-09-24 22:27:27 +02:00