]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/cyclewindows.c
make keypad enter do the same thing as return
[chaz/openbox] / openbox / actions / cyclewindows.c
index 6d852fdf8418ceafa65cc1cd06595e1f8d103074..6bd965773c20c92ac532e3777c86b4e64b612cb1 100644 (file)
@@ -195,7 +195,7 @@ static gboolean i_input_func(guint initial_state,
         }
 
         /* 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) {
             o->cancel = FALSE;
             o->state = e->xkey.state;
             return FALSE;
This page took 0.023037 seconds and 4 git commands to generate.