X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fevent.c;h=b1e61f77c839bedcd71b77fdb216de292385623b;hb=d30809e5faf681a00035d9913a762f25db8de6b5;hp=9d10698b8b7dd17980108e3e14ffbec7add574fa;hpb=361bf6af5c7de09f30f3cf4a220b3f84a3fe451d;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 9d10698b..b1e61f77 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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;