Merge pull request #6 from richelbilderbeek/master

Sorry this took so long to merge, email notification got lost!
pull/7/head
DjBushido 2013-09-30 11:51:55 -07:00
commit e0aa706ac7
1 changed files with 4 additions and 2 deletions

View File

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