winex11.drv: Don't add owned windows to the taskbar. Take 2
Dmitry Timoshkov
dmitry at codeweavers.com
Tue Mar 25 03:52:41 CDT 2008
"Alexandre Julliard" <julliard at winehq.org> wrote:
> Do we really want to remove them from the pager too?
You are right, there is no reason for that.
--
This patch fixes the bug 12160. According to my tests explorer in XP
doesn't add owned windows to the taskbar.
Changelog:
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;
--
1.5.4.3
More information about the wine-patches
mailing list