This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: Multiwindows problem
- From: "Earle F. Philhower, III" <earle at ziplabel dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 20 May 2003 23:53:48 -0000
- Subject: RE: Multiwindows problem
- Reply-to: cygwin-xfree at cygwin dot com
Howdy Colin!
---------- Original Message -------------
Subject: RE: Multiwindows problem
My approach http://cygwin.com/ml/cygwin-xfree/2003-05/msg00360.html fixes
the KEY_UP program and looks ok on
http://cygwin.com/ml/cygwin-xfree/2003-05/msg00291.html
http://cygwin.com/ml/cygwin-xfree/2003-05/msg00326.html
It only deals with the missing KEY_UP program and is still bust by
'bulletproof way'
http://cygwin.com/ml/cygwin-xfree/2003-05/msg00296.html
I'll look into the code more tomorrow to see why this and 'dragged
scrollbars' don't behave like in Windoze.
I've only testing on Windows 2003 server and multiwindow/clipboard, so
plenty of scope for a fowl!
-----------------------------------------
I think the message you need to process isn't just WM_SETFOCUS,
but also WM_ACTIVATEAPP. One other thing, you need to make sure you
have a WM_KEYUP for all outstanding WM_KEYDOWNs. You'd need 2 for a
Shift-X, and maybe 3 if you're doing some international keys on a
US keyboard, and probably 6 if you're playing XQuake. ;)
You might be able to use the XQueryKeymap() to figure out exactly what
keys the server thinks are down...
--
-Earle F. Philhower, III
earle@ziplabel.com
http://www.ziplabel.com