Merge pull request #6 from richelbilderbeek/master

Sorry this took so long to merge, email notification got lost!
This commit is contained in:
DjBushido 2013-09-30 11:51:55 -07:00
commit e0aa706ac7

View File

@ -504,8 +504,10 @@ void xte_clickKey ( Display *displayLocation, char *key )
KeySym ks; KeySym ks;
ks = XStringToKeysym( key ); ks = XStringToKeysym( key );
if ( ks == NoSymbol ) if ( ks == NoSymbol ) {
return; fprintf( stderr, "Key '%s' is an unknown key\n", key );
return;
}
kc = XKeysymToKeycode( displayLocation, ks ); kc = XKeysymToKeycode( displayLocation, ks );