diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-28 05:44:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-28 05:44:13 +0000 |
| commit | 615cbd96075905d75533f9b615c4ee6a75f4f9a4 (patch) | |
| tree | d57954f576d41f36ff30df6df1dad2264c13dcbd /openbox/client.c | |
| parent | 9290376bbbb8b29411f59a35e5477f25304fe205 (diff) | |
change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index ab7c8049..f17e9724 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -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; |
