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:
d59f0d6
)
add a comment
author
Dana Jansens
<danakj@orodu.net>
Sun, 13 May 2007 02:35:42 +0000
(
02:35
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 13 May 2007 02:35:42 +0000
(
02:35
+0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index a42c138da1bca9722d907f07a5a8b959ccef27f2..c6dd02fa3d8ec5a9e9ac21bfdab645207bbd6cc4 100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-911,6
+911,9
@@
static gboolean menu_frame_show(ObMenuFrame *self)
if (menu_frame_visible == NULL) {
/* no menus shown yet */
+
+ /* grab the pointer in such a way as to pass through "owner events"
+ so that we can get enter/leave notifies in the menu. */
if (!grab_pointer(TRUE, TRUE, OB_CURSOR_POINTER))
return FALSE;
if (!grab_keyboard(TRUE)) {