From: Jon Turney <jon.turney@dronecode.org.uk>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Cc: Nicolas Goy <nicolas@goyman.com>
Subject: Re: XWin focus in multiwindow mode
Date: Fri, 21 Apr 2017 16:43:00 -0000 [thread overview]
Message-ID: <798fc5f4-8829-2e7e-2a71-6d85e9e97a7d@dronecode.org.uk> (raw)
In-Reply-To: <em7c369e65-ca44-43bd-9f42-5c6ba83cf542@yoda>
On 14/04/2017 12:23, Nicolas Goy wrote:
> I noticed that a few apps don't manage focus properly when running under
> XWin.
>
> Summary:
> Given a focused X11 app, focusing a native Windows window, the focus is
> not lost in the X11 window.
>
> Steps to reproduce (with terminator):
> - Start terminator under XWin with multiwindow window manager
> - Focus a Windows window by clicking on it
>
> Expected behavior:
> - Focus should be lost from the terminator window
>
> Actual behavior:
> - The terminator window remains focused. (by focused I mean that the
> caret remains plain, and the titlebar remains in the focused color, the
> windows properly lose keyboard focus and other OS level focus)
Thanks for the detailed bug report.
It looks like we were never doing quite the right thing to remove the X
input focus when losing Windows focus.
I've uploaded xorg-server-1.19.3-1 with a fix for this.
Perhaps you could try that and see if it improves things for you?
> - Also, if I open a menu (in android studio for example), and click a
> Windows window, the menu remains open.
This is also a long standing bug, but is more complex to fix.
At the moment, clicks outside X windows aren't seen by the server at
all, hence this behaviour.
--
Jon Turney
Volunteer Cygwin/X X Server maintainer
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
prev parent reply other threads:[~2017-04-21 11:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 14:33 Nicolas Goy
2017-04-21 16:43 ` 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=798fc5f4-8829-2e7e-2a71-6d85e9e97a7d@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin@cygwin.com \
--cc=nicolas@goyman.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).