X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;fp=openbox%2Fevent.c;h=bce1de12e7e3d0e827f78eedbbd9995ef3397757;hb=0dc7eca4cdfff6425e19a0bace0f9ae8834d04e8;hp=5207e093d23df035ceb9eb520ada9781387c60e4;hpb=76fcb473fa801728badf916cfebe349822759056;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index 5207e093..bce1de12 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -521,7 +521,6 @@ static void event_process(const XEvent *ec, gpointer data) window with RevertToParent focus */ frame_adjust_focus(client->frame, FALSE); /* focus_set_client(NULL) has already been called */ - client_calc_layer(client); } else if (e->xfocus.detail == NotifyPointerRoot || e->xfocus.detail == NotifyDetailNone || @@ -631,7 +630,6 @@ static void event_process(const XEvent *ec, gpointer data) frame_adjust_focus(client->frame, FALSE); /* focus_set_client(NULL) has already been called in this section or by focus_fallback */ - client_calc_layer(client); } } else if (client) @@ -708,7 +706,7 @@ static void event_process(const XEvent *ec, gpointer data) if (e->type == ButtonPress || e->type == ButtonRelease) { /* If the button press was on some non-root window, or was physically - on the root window, the process it */ + on the root window, then process it */ if (window != obt_root(ob_screen) || e->xbutton.subwindow == None) {