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: Multiwindows problem


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


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