winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.
authorJacek Caban <jacek@codeweavers.com>
Sat, 29 Mar 2008 15:16:09 +0000 (15:16 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 31 Mar 2008 10:11:58 +0000 (12:11 +0200)
dlls/winex11.drv/winpos.c

index ad62236a6710c13fedbc8b5ce09e23c788284aa2..13ec6f16871292de3f9a0b532ac9c41a6797955c 100644 (file)
@@ -199,7 +199,7 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
         new_state |= (1 << NET_WM_STATE_ABOVE);
     if (ex_style & WS_EX_TOOLWINDOW)
         new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR) | (1 << NET_WM_STATE_SKIP_PAGER);
-    if (GetWindow( data->hwnd, GW_OWNER ))
+    if (!(ex_style & WS_EX_APPWINDOW) && GetWindow( data->hwnd, GW_OWNER ))
         new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
 
     xev.xclient.type = ClientMessage;