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:
ee8d27a
)
use keyrelease to fire menu actions not key press
author
Dana Jansens
<danakj@orodu.net>
Thu, 19 Jul 2007 18:24:30 +0000
(14:24 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 19 Jul 2007 18:24:30 +0000
(14:24 -0400)
when keypress is used, the keyrelease gets sent to whatever window is focused. if it's a stupid program - like most any program - it will update its user_time, preventing the new window from being focused
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
eb2646b
..
3b6d174
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1778,7
+1778,7
@@
static gboolean event_handle_menu(XEvent *ev)
f->child == e->frame)
menu_frame_select(e->frame, e, FALSE);
break;
- case Key
Press
:
+ case Key
Release
:
ret = event_handle_menu_keyboard(ev);
break;
}