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

This commit is contained in:
Alexandre Julliard 2008-03-25 12:13:28 +01:00
parent 823640fc2f
commit 46489aeda2
1 changed files with 2 additions and 0 deletions

View File

@ -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;