]> Dogcows Code - chaz/openbox/commitdiff
hide after iconifying
authorDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 00:05:11 +0000 (00:05 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 00:05:11 +0000 (00:05 +0000)
openbox/client_menu.c

index a1718407de476c2289ad295f713e6f238824b62f..0d4aa57f1418216e432b5aac46fa08470a25afde 100644 (file)
@@ -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;
This page took 0.022198 seconds and 4 git commands to generate.