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:
53134db
)
dont ungrab twice when hiding menus
author
Dana Jansens
<danakj@orodu.net>
Fri, 29 Aug 2003 17:17:07 +0000
(17:17 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 29 Aug 2003 17:17:07 +0000
(17:17 +0000)
openbox/menuframe.c
patch
|
blob
|
history
diff --git
a/openbox/menuframe.c
b/openbox/menuframe.c
index 811d4c0572e8c420858a89d527b6b42bad6d2469..34c7fd85852ab19cf2dd2d81ba3319a353f17132 100644
(file)
--- a/
openbox/menuframe.c
+++ b/
openbox/menuframe.c
@@
-407,6
+407,7
@@
static void menu_frame_update(ObMenuFrame *self)
{
GList *mit, *fit;
+ menu_pipe_execute(self->menu);
menu_find_submenus(self->menu);
self->selected = NULL;
@@
-480,8
+481,6
@@
void menu_frame_hide(ObMenuFrame *self)
if (!it)
return;
- menu_frame_visible = g_list_delete_link(menu_frame_visible, it);
-
if (self->child)
menu_frame_hide(self->child);
@@
-495,6
+494,8
@@
void menu_frame_hide(ObMenuFrame *self)
grab_keyboard(FALSE);
}
+ menu_frame_visible = g_list_delete_link(menu_frame_visible, it);
+
XUnmapWindow(ob_display, self->window);
menu_frame_free(self);