diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 19:35:50 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 19:35:50 +0000 |
| commit | 911ad76372394715f7eae88c96eeb6d06396f3be (patch) | |
| tree | 2e9decf23fe4658d9a4557f956e6aea2bbc7798c /openbox/event.c | |
| parent | 55b5b828e9b52ea755cae4b3892c6d27cc59e82c (diff) | |
a) set the focus client before calculating its layer
b) cleanup in focus.c
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index c8356be1..f276a079 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -471,8 +471,8 @@ static void event_process(const XEvent *ec, gpointer data) focus_fallback(TRUE); } else if (client && client != focus_client) { frame_adjust_focus(client->frame, TRUE); - client_calc_layer(client); focus_set_client(client); + client_calc_layer(client); } } else if (e->type == FocusOut) { gboolean nomove = FALSE; |
