projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ab35a
)
use focus_hilite to pick which window gets keyboard events
author
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 18:54:08 +0000
(18:54 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 18:54:08 +0000
(18:54 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index cd0163f27119a21cc09b26db568a4b5728ef30f8..45434f252d65ec3bb76a6a1a6bd3208d0a4c1221 100644
(file)
--- 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);
}
}
}