public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: jsteed@gedae.com
Subject: Re: How to disable focus stealing prevention in XWin Xorg Multi-Window
Date: Wed, 24 Oct 2012 13:09:00 -0000	[thread overview]
Message-ID: <5087E89C.1040508@dronecode.org.uk> (raw)
In-Reply-To: <CAJ4VNHXV47QS1FgU4C79iD=G8ZBB5Bp5o7r2TWRxB95AqtAY8g@mail.gmail.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/


      reply	other threads:[~2012-10-24 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJ4VNHUjqguSbpvpi==ykX+qMJ9G=H5wi8ybZV-K3o9uhvrE6g@mail.gmail.com>
     [not found] ` <CAJ4VNHXONcxkC6Eie8eW1AjUq9WFxhpFKiJ2xpvz8DSaNXZ_Gw@mail.gmail.com>
2012-10-18 16:26   ` Jim Steed
2012-10-24 13:09     ` Jon TURNEY [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5087E89C.1040508@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=jsteed@gedae.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).