From 16a9ac018ed77e245e873be60729be509fa1ce92 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 25 Apr 2003 19:55:41 +0000 Subject: let the frame hold a focus state so that it can lie. dont focus windows while cycling, just highlight them as if they are focused --- openbox/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/event.c') diff --git a/openbox/event.c b/openbox/event.c index eb4bdb27..eea6583b 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -498,7 +498,7 @@ static void event_handle_client(Client *client, XEvent *e) #endif /* focus state can affect the stacking layer */ client_calc_layer(client); - frame_adjust_focus(client->frame); + frame_adjust_focus(client->frame, e->type == FocusIn); break; case EnterNotify: if (client_normal(client)) { -- cgit v1.2.3