Wine windows always on top?

2000-08-03 Thread Slava Monich

When I run Windoze apps under Wine, I cannot get X apps 
(xterm and such) on top of any wine window. Wine windows 
are always sitting on top of everything else. Is that the 
intended behavior? It seems to me that some (fairly long) 
time ago it didn't behave this way. I'm running Motif WM 
(apparently the original one, not LessTif clone), RedHat
Linux 6.1

-Slava




Re: Wine windows always on top?

2000-08-03 Thread Matthias Bleyl


I have exactly the same problem ...
Matthias (SuSE 6.4)

At 11:36 03.08.00 -0400, you wrote:
When I run Windoze apps under Wine, I cannot get X apps 
(xterm and such) on top of any wine window. Wine windows 
are always sitting on top of everything else. Is that the 
intended behavior? It seems to me that some (fairly long) 
time ago it didn't behave this way. I'm running Motif WM 
(apparently the original one, not LessTif clone), RedHat
Linux 6.1

-Slava



--
 Matthias Bleyl
 Institut fuer Bioklimatologie 
 Buesgenweg 2 
 D-37077-Goettingen  
Tel.: ++49 551 39 3374; Fax.: ++49 551 39 9619 




Re: Wine windows always on top?

2000-08-03 Thread Peter Hunnisett

Are you using the --managed option? This should make the window known
to the window manager. If you are, then I'm at an immediate loss.

From the man pages:

   --managed
  Create  each top-level window as a properly managed
  X window instead of creating our own "sticky"  win­
  dow.



I have exactly the same problem ...
   Matthias (SuSE 6.4)

At 11:36 03.08.00 -0400, you wrote:
When I run Windoze apps under Wine, I cannot get X apps 
(xterm and such) on top of any wine window. Wine windows 
are always sitting on top of everything else. Is that the 
intended behavior? It seems to me that some (fairly long) 
time ago it didn't behave this way. I'm running Motif WM 
(apparently the original one, not LessTif clone), RedHat
Linux 6.1


snip

P.S. Not to sound too snarky, but it doesn't excactly seem to be a developer 
 question. Perhaps the question would have been better suited to the 
 newsgroup.

Ciao,
Peter Hunnisett
[EMAIL PROTECTED]






RE: Wine windows always on top?

2000-08-03 Thread Louis Philippe Gagnon

Slava Monich wrote :

 When I run Windoze apps under Wine, I cannot get X apps
 (xterm and such) on top of any wine window. Wine windows
 are always sitting on top of everything else. Is that the
 intended behavior? It seems to me that some (fairly long)
 time ago it didn't behave this way. I'm running Motif WM
 (apparently the original one, not LessTif clone), RedHat
 Linux 6.1

 -Slava



While working on Managed mode issues in the Corel tree, we noticed that
under Gnome (or at least some Window Managers under Gnome), all Managed
windows are kept below all Unmanaged windows. Since most X apps use managed
windows, unmanaged Wine windows will always remain on top.

This means that when running Wine in unmanaged mode (without --desktop
or --managed), the only workaround is to find a Window Manager that behaves
differently (such as the one in KDE).

Even in managed mode (--managed option), a number of windows are left
unmanaged (with the override_redirect attribute) as a way of preventing
window managers from adding decorations.

The solution we implemented was to make toolwindows (those with extended
style WS_EX_TOOLWINDOW) managed but undecorated (using some window manager
hints). With this change, only (mostly) menus and tooltips are left
unmanaged (which they seem to be even in X apps).

The people at Corel are planning to merge some of the Corel tree stuff back
into the main Wine tree. I don't know if this will include these particular
changes, since there are now very large differences in the managed mode
support.

Anyway, for those who want to see how it was done, most changes are in
windows/x11drv/wnd.c, function X11DRV_CreateWindow(). (anyone wants to see
the patch?)


Louis-Philippe Gagnon
Macadamian Technologies