Paul R Streitman <[EMAIL PROTECTED]> writes: > Last week, I appended about this problem: Application windows under wine > disappear if you switch to a different virtual desktop and then back under > either AfterStep or Enlightenment window managers. The program is still > apparently running (according to top), but there is no way to retrieve it > and it no longer appears in the window manager's window list. It has to be > killed off and restarted.
Does this help? Index: dlls/x11drv/winpos.c =================================================================== RCS file: /opt/cvs-commit/wine/dlls/x11drv/winpos.c,v retrieving revision 1.85 diff -u -p -r1.85 winpos.c --- dlls/x11drv/winpos.c 14 Jun 2004 19:32:21 -0000 1.85 +++ dlls/x11drv/winpos.c 17 Jun 2004 03:19:19 -0000 @@ -1014,7 +1014,7 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *win RDW_NOERASE | RDW_NOINTERNALPAINT | RDW_ALLCHILDREN ); set_visible_style( winpos->hwnd, FALSE ); } - else if ((wndPtr->dwStyle & WS_VISIBLE) && + else if ((wndPtr->dwStyle & WS_VISIBLE) && bChangePos && X11DRV_is_window_rect_mapped( &oldWindowRect ) && !X11DRV_is_window_rect_mapped( &newWindowRect )) { @@ -1046,7 +1046,7 @@ BOOL X11DRV_SetWindowPos( WINDOWPOS *win { set_visible_style( winpos->hwnd, TRUE ); } - else if ((wndPtr->dwStyle & WS_VISIBLE) && + else if ((wndPtr->dwStyle & WS_VISIBLE) && bChangePos && !X11DRV_is_window_rect_mapped( &oldWindowRect ) && X11DRV_is_window_rect_mapped( &newWindowRect )) { -- Alexandre Julliard [EMAIL PROTECTED]