Module: wine Branch: master Commit: 8577358ef54cce8a35c25f1d3c6d766cb9301f94 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8577358ef54cce8a35c25f1d3c...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Apr 14 13:26:38 2008 +0200
winex11: Don't set full screen style on minimized windows.
---
dlls/winex11.drv/winpos.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index b12ded1..f6b75d6 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -136,7 +136,7 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data { if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION) new_state |= (1 << NET_WM_STATE_MAXIMIZED); - else + else if (!(style & WS_MINIMIZE)) new_state |= (1 << NET_WM_STATE_FULLSCREEN); } else if (style & WS_MAXIMIZE)