mirror of
https://github.com/bspeice/libcvautomation
synced 2024-12-04 13:58:11 -05:00
Merge pull request #6 from richelbilderbeek/master
Sorry this took so long to merge, email notification got lost!
This commit is contained in:
commit
e0aa706ac7
@ -504,8 +504,10 @@ void xte_clickKey ( Display *displayLocation, char *key )
|
||||
KeySym ks;
|
||||
|
||||
ks = XStringToKeysym( key );
|
||||
if ( ks == NoSymbol )
|
||||
if ( ks == NoSymbol ) {
|
||||
fprintf( stderr, "Key '%s' is an unknown key\n", key );
|
||||
return;
|
||||
}
|
||||
|
||||
kc = XKeysymToKeycode( displayLocation, ks );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user