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

William Croft croft@mitem.com
Mon Jun 13 19:35:00 GMT 2005


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20050613/4a0b3d5c/attachment.ksh>


More information about the Cygwin-xfree mailing list