Closed rowanworth closed 9 years ago
That's me by the way, had my work github account logged in.
OK we get an XKeymapNotify event when we regain focus that tells us the keystate, so can use that to keep the downKeys map in sync.
I'm working on a patch, do you want to generate wde.KeyEvent/wde.KeyUpEvent to match the changes to the keyboard state? It's a bit more work, but I think it makes sense to do so.
Fixed by #40
Can reproduce with the wdetest program (probably requires sloppy-focus):
1) give focus to a wde window 2) press (and hold) the left_super key 3) move the mouse out of the wde window and give focus to a different window 4) release the super key
Subsequent keypresses in the originally-focused wde window report "super" as part of the chord.