New devel to-do item (release all pressed keyboard keys on focus loss)

Harold Hunt huntharo@msu.edu
Mon Dec 3 09:50:00 GMT 2001


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



More information about the Cygwin-xfree mailing list