]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
only grab keybinds on the root window, not every client window
[chaz/openbox] / openbox / event.c
index c3fab03e19819ecb56273a60bdf848e56bb9b7f4..788fd4bc1f128d5291bd148b079ac01009b00a89 100644 (file)
@@ -589,7 +589,7 @@ static void event_process(const XEvent *ec, gpointer data)
                     mouse_event(client, e);
                 } else if (e->type == KeyPress) {
                     keyboard_event((focus_cycle_target ? focus_cycle_target :
-                                    client), e);
+                                    (client ? client : focus_client)), e);
                 }
             }
         }
This page took 0.020561 seconds and 4 git commands to generate.