]> Dogcows Code - chaz/openbox/blobdiff - obt/keyboard.c
dont print warnings when reading keys which dont generate text
[chaz/openbox] / obt / keyboard.c
index 5e2184298b48c1b5dbcb16808528c090e691ebd9..57208aa2d1c1f9b79f9a70ecf436776d596b110a 100644 (file)
@@ -331,6 +331,9 @@ gunichar obt_keyboard_keypress_to_unichar(ObtIC *ic, XEvent *ev)
                 got_string = TRUE;
             }
         }
+        else if (status == XLookupKeySym)
+            /* this key doesn't have a text representation, it is a command
+               key of some sort */;
         else
             g_message("Bad keycode lookup. Keysym 0x%x Status: %s\n",
                       (guint) sym,
This page took 0.019959 seconds and 4 git commands to generate.