Use the KeyCode to directly find the modifier mask. (Fix bug 5173)
[mikachu/openbox.git] / openbox / actions / desktop.c
index 70d807d..8dadf55 100644 (file)
@@ -352,7 +352,7 @@ static gboolean i_input_func(guint initial_state,
 static gboolean i_pre_func(guint initial_state, gpointer options)
 {
     guint initial_mods = obt_keyboard_only_modmasks(initial_state);
-    if (!inital_mods) {
+    if (!initial_mods) {
         Options *o = options;
         o->interactive = FALSE;
         return FALSE;