This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Send loss of focus notification when changing focus to a Windowsapp?]


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]