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:
48d7045
)
hide after iconifying
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 00:05:11 +0000
(
00:05
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 May 2007 00:05:11 +0000
(
00:05
+0000)
openbox/client_menu.c
patch
|
blob
|
history
diff --git
a/openbox/client_menu.c
b/openbox/client_menu.c
index a1718407de476c2289ad295f713e6f238824b62f..0d4aa57f1418216e432b5aac46fa08470a25afde 100644
(file)
--- a/
openbox/client_menu.c
+++ b/
openbox/client_menu.c
@@
-121,7
+121,9
@@
static void client_menu_execute(ObMenuEntry *e, guint state, gpointer data,
switch (e->id) {
case CLIENT_ICONIFY:
client_iconify(c, TRUE, FALSE);
- break;
+ /* the client won't be on screen anymore so hide the menu */
+ menu_frame_hide_all();
+ return; /* and don't update */
case CLIENT_RESTORE:
client_maximize(c, FALSE, 0);
break;