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: New devel to-do item (release all pressed keyboard keys on focus loss)


John,

> By "novice programmer" he means one intimately familiar with X
> server internals
> and the Win32 API.
>
> :-)

Not at all.  I mean look in winkeybd.c for the function that pops the mod
keys (Alt, Ctrl, Shift, etc.) and simply make it loop through all keys not
including the mode keys (Num Lock, Caps Lock, etc.), popping each key.

How hard is it to write a for loop based on example code?

Harold


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