Module: wine Branch: master Commit: 8be5b58ba7ff060111b44c0b4c1562ad6a8d1b58 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8be5b58ba7ff060111b44c0b4c...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 19 17:55:22 2007 +0200
winex11.drv: Update the wm hints when the window frame is changed.
---
dlls/winex11.drv/winpos.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index ac7a651..330a31e 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -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 );