]> Dogcows Code - chaz/openbox/commitdiff
make keyboard events work on the focus_cycle_target again
authorDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:08:07 +0000 (19:08 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:08:07 +0000 (19:08 +0000)
openbox/event.c

index 45434f252d65ec3bb76a6a1a6bd3208d0a4c1221..6df7098e58e9dac9b21f4ec90aeb793130f053a4 100644 (file)
@@ -463,8 +463,9 @@ static void event_process(const XEvent *ec, gpointer data)
                     e->type == MotionNotify)
                     mouse_event(client, e);
                 else if (e->type == KeyPress)
-                    keyboard_event((focus_hilite ?
-                                    focus_hilite : client), e);
+                    keyboard_event((focus_cycle_target ? focus_cycle_target :
+                                    (focus_hilite ? focus_hilite : client)),
+                                   e);
             }
         }
     }
This page took 0.024416 seconds and 4 git commands to generate.