summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-09 18:54:08 +0000
committerDana Jansens <danakj@orodu.net>2003-10-09 18:54:08 +0000
commit0ba8c17565a7d3bb7f376ba5d072e0b70e96dec1 (patch)
treedf23ab9fa41e16d67a1729442454e6df0fc8dbe7
parent04ab35aa140fe418d8d5c256011c3b59dea51adf (diff)
use focus_hilite to pick which window gets keyboard events
-rw-r--r--openbox/event.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/openbox/event.c b/openbox/event.c
index cd0163f2..45434f25 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -463,11 +463,8 @@ static void event_process(const XEvent *ec, gpointer data)
e->type == MotionNotify)
mouse_event(client, e);
else if (e->type == KeyPress)
- /* when in the middle of a focus cycling action, this
- causes the window which appears to be focused to be
- the one on which the actions will be executed */
- keyboard_event((focus_cycle_target ?
- focus_cycle_target : client), e);
+ keyboard_event((focus_hilite ?
+ focus_hilite : client), e);
}
}
}