At 11:55 PM 6/8/00 +0200, you wrote:

>OK, I'll see what I can do ;-)

Could you try the following patch against windows/x11drv/wnd.c

Gerard

--- wnd.c.orig  Fri Jun  9 10:59:06 2000
+++ wnd.c       Fri Jun  9 11:05:07 2000
@@ -266,8 +266,8 @@
 {
   /* Create the X window (only for top-level windows, and then only */
   /* when there's no desktop window) */
-
-  if (!(cs->style & WS_CHILD) && (X11DRV_GetXRootWindow() == 
DefaultRootWindow(display)))
+  if ( (X11DRV_GetXRootWindow() == DefaultRootWindow(display))
+      && (wndPtr->parent->hwndSelf == GetDesktopWindow()))
   {
       Window    wGroupLeader;
       XWMHints* wm_hints;
@@ -446,7 +446,6 @@
 
             if( pWndParent == pDesktop )
             {
-                wndPtr->dwStyle &= ~WS_CHILD;
                 if( X11DRV_GetXRootWindow() == DefaultRootWindow(display) )
                 {
                     CREATESTRUCTA cs;
@@ -474,7 +473,6 @@
             {
                 if( !( wndPtr->dwStyle & WS_CHILD ) )
                 {
-                    wndPtr->dwStyle |= WS_CHILD;
                     if( wndPtr->wIDmenu != 0)
                     {
                         DestroyMenu( (HMENU) wndPtr->wIDmenu );   


Reply via email to