Commit 292869b9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winex11: Explicitly clear virtual desktop maximized state.

parent 13820b6f
...@@ -235,6 +235,11 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height) ...@@ -235,6 +235,11 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height)
wine_tsx11_lock(); wine_tsx11_lock();
XSendEvent( display, DefaultRootWindow(display), False, XSendEvent( display, DefaultRootWindow(display), False,
SubstructureRedirectMask | SubstructureNotifyMask, &xev ); 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(); wine_tsx11_unlock();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment