winex11: Don't set full screen style on minimized windows.
authorAlexandre Julliard <julliard@winehq.org>
Mon, 14 Apr 2008 11:26:38 +0000 (13:26 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Apr 2008 11:26:38 +0000 (13:26 +0200)
dlls/winex11.drv/winpos.c

index b12ded1e8b234142fdcb696bf354f2a6c9d1f7a2..f6b75d6f8228df0b0a8eea0b5f880218c9db2244 100644 (file)
@@ -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)