This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: How to disable focus stealing prevention in XWin Xorg Multi-Window
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: jsteed at gedae dot com
- Date: Wed, 24 Oct 2012 14:09:48 +0100
- Subject: Re: How to disable focus stealing prevention in XWin Xorg Multi-Window
- References: <CAJ4VNHUjqguSbpvpi==ykX+qMJ9G=H5wi8ybZV-K3o9uhvrE6g@mail.gmail.com> <CAJ4VNHXONcxkC6Eie8eW1AjUq9WFxhpFKiJ2xpvz8DSaNXZ_Gw@mail.gmail.com> <CAJ4VNHXV47QS1FgU4C79iD=G8ZBB5Bp5o7r2TWRxB95AqtAY8g@mail.gmail.com>
- Reply-to: cygwin-xfree <cygwin-xfree at cygwin dot com>
- Reply-to: cygwin-xfree at cygwin dot com
On 18/10/2012 17:26, Jim Steed wrote:
> I have an X windows program that uses multiple windows and has buttons
> to bring up the other windows to the top. These buttons don't work
> (have no effect) in the default settings of Cygwin's Xorg port due to
> "focus stealing prevention."
I'm afraid your diagnosis is incorrect.
It's a long-standing defect in multiwindow mode that no attempt is made to
synchronize changes in the X window Z-order (e.g. made by XRaiseWindow()) to
the native Windows window Z-order.
See, for example [1] for some discussion about why this isn't easy to fix.
> I have a little background with this in Linux as I know the magic in
> KDE to disable focus stealing prevention and get these buttons to
> work. Is there a similar setting I can make to XWin Server's
> startxwin.exe to disable this?
>
> I have noted that twm and WindowMaker do not prevent focus stealing,
> and my program works fine in those window managers. However, for look
> and feel, I would much prefer it to closer integrated into Microsoft
> Windows with the multi-window approach.
[1] http://cygwin.com/ml/cygwin-xfree/2011-08/msg00034.html
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/