From 0dd44a3776da2f5a116ac24c8a876bf86517d9ad Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 1 Jun 2010 13:37:48 +0200 Subject: [PATCH] winex11: Windows with WS_EX_NOACTIVATE style shouldn't be on the taskbar. --- dlls/winex11.drv/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 3999054e953..7bdf4e1b118 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1252,7 +1252,7 @@ void update_net_wm_states( Display *display, struct x11drv_win_data *data ) ex_style = GetWindowLongW( data->hwnd, GWL_EXSTYLE ); if (ex_style & WS_EX_TOPMOST) new_state |= (1 << NET_WM_STATE_ABOVE); - if (ex_style & WS_EX_TOOLWINDOW) + if (ex_style & (WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE)) new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR) | (1 << NET_WM_STATE_SKIP_PAGER); if (!(ex_style & WS_EX_APPWINDOW) && GetWindow( data->hwnd, GW_OWNER )) new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR); -- 2.11.4.GIT