X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=plugins%2Fmenu%2Fclient_menu.c;h=9edb392930d181b71eb380ea82bf1e4b4acb1339;hb=d51702affa3e3895f9fca218de39690f8958b500;hp=568c8b2d76d4ed712ae1dc958383d43a8f2970ab;hpb=5be0a82a353b67160142134de1cc51fa31d72759;p=chaz%2Fopenbox diff --git a/plugins/menu/client_menu.c b/plugins/menu/client_menu.c index 568c8b2d..9edb3929 100644 --- a/plugins/menu/client_menu.c +++ b/plugins/menu/client_menu.c @@ -52,7 +52,7 @@ void client_send_to_update(ObMenu *self) menu_add_entry(self, e); } - menu_render_full(self); + self->update(self); } } @@ -102,7 +102,7 @@ void plugin_destroy (ObMenu *m) void *plugin_create() /* TODO: need config */ { ObMenu *m = menu_new_full(NULL, "client-menu", NULL, - client_menu_show, NULL); + client_menu_show, NULL, NULL, NULL, NULL); m->plugin = PLUGIN_NAME; menu_add_entry(m, menu_entry_new_submenu("Send To Workspace", send_to_menu)); @@ -144,7 +144,7 @@ void plugin_startup() ObMenu *t; /* create a Send To Workspace ObMenu */ send_to_menu = menu_new_full(NULL, "send-to-workspace", - NULL, NULL, client_send_to_update); + NULL, NULL, client_send_to_update, NULL, NULL, NULL); layer_menu = menu_new(NULL, "layer", NULL); menu_add_entry(layer_menu, menu_entry_new("Top Layer",