[Fwd: Send loss of focus notification when changing focus to a Windowsapp?]
Thomas Chadwick
j_tetazoo@hotmail.com
Wed Sep 24 18:12:00 GMT 2003
FWIW - If you run xev with XWin in -rootless or -multiwindow mode, when you
leave the X client window and enter "Windows territory", sometimes you get a
LeaveNotify event, but sometimes you don't. It seems to depend on how fast
the mouse is moving when you cross the border. I see in winwndproc.c (and
winmultiwindowwndproc.c) that there is code to handle WM_MOUSELEAVE events.
Seems to me this would be a good place to stick code that generates a
LeaveNotify event in the X client.
>From: Jean-Claude Gervais <jc.gervais@videotron.ca>
>Reply-To: cygwin-xfree@cygwin.com
>To: Cygwin-XFree <cygwin-xfree@cygwin.com>
>Subject: [Fwd: Send loss of focus notification when changing focus to
>a Windowsapp?]
>Date: Tue, 23 Sep 2003 13:23:33 -0400
>
>Is it possible to tell X that it has lost focus when a Windows app gains
>focus?
>
><< message3.txt >>
_________________________________________________________________
Add MSN 8 Internet Software to your existing Internet access and enjoy
patented spam protection and more. Sign up now!
http://join.msn.com/?page=dept/byoa
More information about the Cygwin-xfree
mailing list