Dmitry Timoshkov : winex11.drv: Don't add owned windows to the taskbar.

Alexandre Julliard julliard at winehq.org
Tue Mar 25 06:58:18 CDT 2008


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue Mar 25 16:52:41 2008 +0800

winex11.drv: Don't add owned windows to the taskbar.

---

 dlls/winex11.drv/winpos.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index 25e643e..ad62236 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -199,6 +199,8 @@ 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 ))
+        new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);
 
     xev.xclient.type = ClientMessage;
     xev.xclient.window = data->whole_window;




More information about the wine-cvs mailing list