Let program give feedback when an unknown key is pressed

This commit is contained in:
richelbilderbeek 2013-07-25 12:01:46 +02:00
parent 934d94b326
commit 85e57964a1

View File

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