]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/desktop.c
make keypad enter do the same thing as return
[chaz/openbox] / openbox / actions / desktop.c
index cc0d96538cba42ff7b41ffa56aa85fb8350df9a5..04b0bdd5f26687cd3703a0695e0aede722bea30c 100644 (file)
@@ -327,7 +327,7 @@ static gboolean i_input_func(guint initial_state,
             return FALSE;
 
         /* There were no modifiers and they pressed enter */
-        else if (sym == XK_Return && !initial_state)
+        else if ((sym == XK_Return || sym == XK_KP_Enter) && !initial_state)
             return FALSE;
     }
     /* They released the modifiers */
This page took 0.019912 seconds and 4 git commands to generate.