This commit is contained in:
Richel Bilderbeek 2013-07-25 03:48:34 -07:00
commit 2fad862be5

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 );