Alexandre Julliard : winex11: Windows with WS_EX_NOACTIVATE style shouldn' t be on the taskbar.

Alexandre Julliard julliard at winehq.org
Tue Jun 1 12:12:44 CDT 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun  1 13:37:48 2010 +0200

winex11: Windows with WS_EX_NOACTIVATE style shouldn't be on the taskbar.

---

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

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index 3999054..7bdf4e1 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);




More information about the wine-cvs mailing list