]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
remove the --sm-disable from argv
[chaz/openbox] / openbox / event.c
index cd0163f27119a21cc09b26db568a4b5728ef30f8..6df7098e58e9dac9b21f4ec90aeb793130f053a4 100644 (file)
@@ -463,11 +463,9 @@ static void event_process(const XEvent *ec, gpointer data)
                     e->type == MotionNotify)
                     mouse_event(client, e);
                 else if (e->type == KeyPress)
-                    /* when in the middle of a focus cycling action, this
-                       causes the window which appears to be focused to be
-                       the one on which the actions will be executed */
-                    keyboard_event((focus_cycle_target ?
-                                    focus_cycle_target : client), e);
+                    keyboard_event((focus_cycle_target ? focus_cycle_target :
+                                    (focus_hilite ? focus_hilite : client)),
+                                   e);
             }
         }
     }
This page took 0.022603 seconds and 4 git commands to generate.