]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
always ignore errors for client_focus like we used to.
[chaz/openbox] / openbox / event.c
index 9d10698b8b7dd17980108e3e14ffbec7add574fa..b1e61f77c839bedcd71b77fdb216de292385623b 100644 (file)
@@ -515,7 +515,7 @@ static void event_process(const XEvent *ec, gpointer data)
                           "Focus went to a window that is already gone\n");
 
             /* If you send focus to a window and then it disappears, you can
-               get the FocusIn FocusOut for it, after it is unmanaged.
+               get the FocusIn for it, after it is unmanaged.
                Just wait for the next FocusOut/FocusIn pair. */
         }
         else if (client != focus_client) {
@@ -1693,7 +1693,7 @@ static gboolean focus_delay_func(gpointer data)
 
     event_curtime = d->time;
     if (focus_client != d->client) {
-        if (client_focus(d->client, FALSE) && config_focus_raise)
+        if (client_focus(d->client) && config_focus_raise)
             stacking_raise(CLIENT_AS_WINDOW(d->client));
     }
     event_curtime = old;
This page took 0.026035 seconds and 4 git commands to generate.