]> Dogcows Code - chaz/openbox/commitdiff
use the focus client when the client is null for keyboard events
authorDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 17:12:26 +0000 (17:12 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 10 Sep 2003 17:12:26 +0000 (17:12 +0000)
openbox/event.c

index 2d47fd328a09c55ec9f2a3f01a5e398cd8fba2ee..b5ad2924244a50ba6e766bd7db195255a4249a00 100644 (file)
@@ -500,7 +500,8 @@ static void event_process(const XEvent *ec, gpointer data)
                        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);
+                                    focus_cycle_target :
+                                    (client ? client : focus_client)), e);
             }
         }
     }
This page took 0.023064 seconds and 4 git commands to generate.