summaryrefslogtreecommitdiff
path: root/openbox/event.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-25 19:55:41 +0000
committerDana Jansens <danakj@orodu.net>2003-04-25 19:55:41 +0000
commit16a9ac018ed77e245e873be60729be509fa1ce92 (patch)
treec962c01ed887de0740cb90b4d9e30e8153fbf824 /openbox/event.c
parent11b7764e5f357d0d93a25161e72bb746400797bd (diff)
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
Diffstat (limited to 'openbox/event.c')
-rw-r--r--openbox/event.c2
1 files changed, 1 insertions, 1 deletions
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)) {