winex11: Explicitly clear virtual desktop maximized state.
This commit is contained in:
parent
13820b6f94
commit
292869b969
|
@ -233,6 +233,11 @@ static void update_desktop_fullscreen( unsigned int width, unsigned int height)
|
|||
TRACE("action=%li\n", xev.xclient.data.l[0]);
|
||||
|
||||
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();
|
||||
|
|
Loading…
Reference in New Issue