]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
change the menu plugin interface, no need for the create/destroy functions any more.
[chaz/openbox] / openbox / client.c
index ab7c80491e85dd8d0e83c44dfff8a94ff6667b24..f17e9724fc228afa338b83c6604d875c4f339acb 100644 (file)
@@ -17,7 +17,7 @@
 #include "openbox.h"
 #include "group.h"
 #include "config.h"
-#include "menu.h"
+#include "menuframe.h"
 #include "keyboard.h"
 #include "mouse.h"
 #include "render/render.h"
@@ -406,7 +406,9 @@ void client_unmanage(ObClient *self)
     if (moveresize_client == self)
         moveresize_end(TRUE);
 
-    /* XXX close any windows that are attached to this window */
+    /* menus can be associated with a client, so close any that are since
+       we are disappearing now */
+    menu_frame_hide_all_client(self);
     
     if (focus_client == self) {
         XEvent e;
This page took 0.021942 seconds and 4 git commands to generate.