This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Send loss of focus notification when changing focus to a Windows app?
- From: Jean-Claude Gervais <jc dot gervais at videotron dot ca>
- To: Cygwin-XFree <cygwin-xfree at cygwin dot com>
- Date: Sun, 21 Sep 2003 17:36:42 -0400
- Subject: Send loss of focus notification when changing focus to a Windows app?
- Organization: Emergent
- Reply-to: cygwin-xfree at cygwin dot com
Hi,
I'm runnng the WindowMaker that comes with Cygwin XFree with the
following options:
XWin -nowinkill -multiplemonitors -nodecoraion -rootless -clipboard
And I've noticed one small detail:
When changing from window to window on X, WindowMaker sems to be able to
track who is active who is inactive OK.
But when I switch away from an X app to say, Notepad, WindoMaker still
seems to think that the last X window that was active is STILL active.
Windowmaker is correct in one sense, of course, but more importantly,
would it be posible to send a focus-loss notification to WindowMaker
when a Windows app gains focus?
I don't know how X would handle being told that no one has the focus...
Or failing that, maybe it should be told that the hidden root window has
the focus, I don't know.
The problem is that the way it stands now, when you glance at your
screen(s) you have trouble knowing where the input will go if you type
something.
Will what I type go to what seems to be the currently active X window,
or will it go to a Windows app?
By looking for the active window, it is hard know.
Is there a way to fix this?
Any ideas or solutions appreciated.