Alexandre Julliard : winex11: Don' t attempt to dock into the system tray in desktop mode.

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


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar 25 12:13:28 2008 +0100

winex11: Don't attempt to dock into the system tray in desktop mode.

---

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

diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index ca76230..ffeed8e 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -690,6 +690,8 @@ void X11DRV_make_systray_window( HWND hwnd )
     struct x11drv_win_data *data;
     Window systray_window;
 
+    if (root_window != DefaultRootWindow(display)) return;
+
     if (!(data = X11DRV_get_win_data( hwnd )) &&
         !(data = X11DRV_create_win_data( hwnd ))) return;
 




More information about the wine-cvs mailing list