hide after iconifying

This commit is contained in:
Dana Jansens 2007-05-09 00:05:11 +00:00
parent 48d7045208
commit 1361a87bdf

View file

@ -121,7 +121,9 @@ static void client_menu_execute(ObMenuEntry *e, guint state, gpointer data,
switch (e->id) { switch (e->id) {
case CLIENT_ICONIFY: case CLIENT_ICONIFY:
client_iconify(c, TRUE, FALSE); 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: case CLIENT_RESTORE:
client_maximize(c, FALSE, 0); client_maximize(c, FALSE, 0);
break; break;