From 8c910077ae5ab90b93bdaec9d47575b582b41a7d Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sat, 29 Mar 2008 15:16:09 +0000 Subject: [PATCH] winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style. --- dlls/winex11.drv/winpos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index ad62236a671..13ec6f16871 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;