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

This commit is contained in:
Alexandre Julliard 2007-09-19 17:55:22 +02:00
parent 7d21e6b375
commit 8be5b58ba7

@ -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 );