Henri Verbeet : winex11: Explicitly clear virtual desktop maximized state.

Alexandre Julliard julliard at winehq.org
Mon Aug 13 13:21:19 CDT 2012


Module: wine
Branch: master
Commit: 292869b969a3f59a44f0b5b121e51c833ee29ad9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=292869b969a3f59a44f0b5b121e51c833ee29ad9

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Aug 13 11:39:42 2012 +0200

winex11: Explicitly clear virtual desktop maximized state.

---

 dlls/winex11.drv/desktop.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c
index 66b1e11..6572845 100644
--- a/dlls/winex11.drv/desktop.c
+++ b/dlls/winex11.drv/desktop.c
@@ -235,6 +235,11 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height)
     wine_tsx11_lock();
     XSendEvent( display, DefaultRootWindow(display), False,
                 SubstructureRedirectMask | SubstructureNotifyMask, &xev );
+
+    xev.xclient.data.l[1] = x11drv_atom(_NET_WM_STATE_MAXIMIZED_VERT);
+    xev.xclient.data.l[2] = x11drv_atom(_NET_WM_STATE_MAXIMIZED_HORZ);
+    XSendEvent( display, DefaultRootWindow(display), False,
+                SubstructureRedirectMask | SubstructureNotifyMask, &xev );
     wine_tsx11_unlock();
 }
 




More information about the wine-cvs mailing list