mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Fix a bug where xte_keyUp would actually press a key down.
This commit is contained in:
parent
bd947b2cd9
commit
c92e6b2640
@ -790,7 +790,7 @@ void xte_keyUp ( Display *displayLocation, char *key )
|
||||
|
||||
kc = XKeysymToKeycode( displayLocation, ks );
|
||||
|
||||
XTestFakeKeyEvent( displayLocation, kc, True, CurrentTime );
|
||||
XTestFakeKeyEvent( displayLocation, kc, False, CurrentTime );
|
||||
|
||||
XFlush( displayLocation );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user