This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: nedit windows don't "raise" under Cygwin/X


I use this setup, the relevant parts of my startxwin.bat;

REM run XWin -multiwindow -clipboard -silent-dup-error
run XWin
REM run twm
run openbox
run xsetroot -solid aquamarine4

then Openbox is a separate window, that can me maximized/minimized as needed.  It's easy to open multiple instances of NEdit for side by side work.  You will need to install Openbox separately as it isn't part of the default install.  Also on your version of windows you may need other options, such as 'start /B' which you can find in the list archives.

Sterling


-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of William Croft
Sent: Monday, June 13, 2005 3:36 PM
To: cygwin-xfree@cygwin.com
Subject: nedit windows don't "raise" under Cygwin/X

Hi, I recently sent this note to the nedit discussion list, but
everyone there believes that this is a problem with Cygwin/X.

Would someone here have a workaround I can use, other than the
kludge I mention below?

Thanks much

--Bill

------------------------------

Date: Tue, 07 Jun 2005 14:23:38 -0700
From: Tim Hubberstey <timh@marmot-eng.com>
Subject: Re: windows don't "raise" under Cygwin/X
To: General NEdit discussion list <discuss@nedit.org>

William Croft wrote:
> I am a longtime Nedit user under various Unixes.  A week ago I installed 
> the latest Cygwin, plus X server and nedit (5.5) on my Win2K Server 
> box.  This is the nedit that comes packaged with the latest Cygwin.
> 
> Just using the default Cygwin/X settings, I believe each nedit window 
> (started with nc all under the same serving nedit) -- each window 
> becomes a separate X root window!  If I have several nedit windows open, 
> some overlapping and on top of others -- when I use the Nedit "Windows" 
> menu to select another file under the windows on top, the window doesnt 
> raise to the top.  Similarly if I use the control-d feature to jump to a 
> function name in the tags file, and that window is already open 
> underneath another nedit window, it does not come to the top.  Argh!  
> (Don't suggest I use tabbed panes in one nedit window, I have to be able 
> to look at multiple files side by side.)
> 
> I believe this is a misfeature of the Cygwin/X operation, using the 
> default Cygwin setup that runs without an external X window manager, 
> rather the Cygwin XWin program juggles this with the Windows GDI 
> directly.  (The "-multiwindow" XWin.exe default option.)
> 
> If I startup XWin using "-fullscreen" instead (with a real window 
> manager such as "mwm"), then nedit window raising works just fine.  
> However then I lose the ability to have both Cygwin and Windows-GDI 
> windows on my desktop simultaneously.  I tried the "-rootless" and 
> "-mwextwm" modes of XWin --they are less than useful.
> 
> Any workarounds or other magic incantations to get "-multiwindow" 
> operation working correctly with nedit would be greatly appreciated.

I can confirm that this happens on my setup as well. I haven't noticed 
it before because I don't use 'nc'; I use a shell script to launch 
separate NEdit images for each file (because of NEdit macro language 
deficiencies I've posted previously).

-----

Date: Tue, 7 Jun 2005 22:27:15 +0200
From: Joerg Fischer <jf505@gmx.de>
Subject: Re: windows don't "raise" under Cygwin/X
To: General NEdit discussion list <discuss@nedit.org>

* William Croft wrote:
>I believe this is a misfeature of the Cygwin/X operation, using the
>default Cygwin setup that runs without an external X window
>manager, ...

I couldn't see such focus or raise problems with any of the native X
servers for MS Windows that I've tried (Xmanager, Xthin, MI/X,
Xwin32, ...)

Did you report the problem to the Cygwin/X list?

>Any workarounds or other magic incantations to get "-multiwindow"
>operation working correctly with nedit would be greatly
>appreciated.

Well, the obvious workaround would be to use a different X server.
A multi-window mode is standard nowadays.
(Cygwin/X is the only _free_ X server for Windows, though.)

Cheers,
Jörg


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]