mirror of
https://github.com/reactos/wine.git
synced 2025-03-02 17:55:57 +00:00
winex11.drv: Update the wm hints when the window frame is changed.
This commit is contained in:
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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user