Commit 8be5b58b authored by Alexandre Julliard's avatar Alexandre Julliard

winex11.drv: Update the wm hints when the window frame is changed.

parent 7d21e6b3
......@@ -403,10 +403,13 @@ BOOL X11DRV_SetWindowPos( HWND hwnd, HWND insert_after, const RECT *rectWindow,
TRACE( "mapping non zero size or off-screen win %p\n", hwnd );
mapped = TRUE;
}
if (mapped || (swp_flags & SWP_FRAMECHANGED))
X11DRV_set_wm_hints( display, data );
if (mapped)
{
X11DRV_sync_window_style( display, data );
X11DRV_set_wm_hints( display, data );
wine_tsx11_lock();
XMapWindow( display, data->whole_window );
XFlush( display );
......
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