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 <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Cygwin-XFree <[EMAIL PROTECTED]>
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




Reply via email to