]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/translate.c
use the last event timestamp when focusing the focus_backup
[chaz/openbox] / plugins / keyboard / translate.c
index d1fdc58d2eaa7e9b125df6b51aebf6e4eb8ab590..25e1c6a6a0e388819ca117f4b88894537bd0977f 100644 (file)
@@ -51,7 +51,7 @@ gboolean translate_key(char *str, guint *state, guint *keycode)
        goto translation_fail;
     }
     *keycode = XKeysymToKeycode(ob_display, sym);
-    if (!keycode) {
+    if (!*keycode) {
        g_warning("Key '%s' does not exist on the display.", l); 
        goto translation_fail;
     }
This page took 0.019916 seconds and 4 git commands to generate.