]> Dogcows Code - chaz/openbox/blobdiff - openbox/client_list_combined_menu.c
don't show the client menu when its for an invalid window
[chaz/openbox] / openbox / client_list_combined_menu.c
index 9dd56e0a92da85259bc467bbbfab19106a51f755..fcc95f69dfc1aa1cf4a3eb1ad04c256f0ed70048 100644 (file)
@@ -33,7 +33,7 @@
 
 ObMenu *combined_menu;
 
-static void self_update(ObMenuFrame *frame, gpointer data)
+static gboolean self_update(ObMenuFrame *frame, gpointer data)
 {
     ObMenu *menu = frame->menu;
     ObMenuEntry *e;
@@ -104,6 +104,7 @@ static void self_update(ObMenuFrame *frame, gpointer data)
                 e->data.normal.enabled = FALSE;
         }
     }
+    return TRUE; /* always show the menu */
 }
 
 /* executes it using the client in the actions, since we set that
This page took 0.022965 seconds and 4 git commands to generate.