From: Dana Jansens Date: Wed, 9 May 2007 00:05:11 +0000 (+0000) Subject: hide after iconifying X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1361a87bdff4a04c4c5e273bafa7a90c16368b67;p=chaz%2Fopenbox hide after iconifying --- diff --git a/openbox/client_menu.c b/openbox/client_menu.c index a1718407..0d4aa57f 100644 --- 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;