Jacek Caban : winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.

Alexandre Julliard julliard at winehq.org
Mon Mar 31 09:15:15 CDT 2008


Module: wine
Branch: master
Commit: 8c910077ae5ab90b93bdaec9d47575b582b41a7d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8c910077ae5ab90b93bdaec9d47575b582b41a7d

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Mar 29 15:16:09 2008 +0000

winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.

---

 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 ad62236..13ec6f1 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -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;




More information about the wine-cvs mailing list