Index: dlls/x11drv/window.c =================================================================== RCS file: /home/wine/wine/dlls/x11drv/window.c,v retrieving revision 1.2 diff -u -r1.2 window.c --- dlls/x11drv/window.c 2001/05/10 03:24:00 1.2 +++ dlls/x11drv/window.c 2001/05/10 20:20:22 @@ -423,7 +423,7 @@ /* Create an X counterpart for reparented top-level windows * when not in the desktop mode. */ - if (parent == GetDesktopWindow()) + if ((!parent) || (parent == GetDesktopWindow())) { if(root_window == DefaultRootWindow(display)) X11DRV_CreateWindow(wndPtr->hwndSelf);