diff --git a/openbox/client_list_menu.c b/openbox/client_list_menu.c index f272dae8..2dab84fc 100644 --- a/openbox/client_list_menu.c +++ b/openbox/client_list_menu.c @@ -74,6 +74,8 @@ static void desk_menu_destroy(ObMenu *menu, gpointer data) DesktopData *d = data; g_free(d); + + desktop_menus = g_slist_remove(desktop_menus, menu); } static void self_update(ObMenuFrame *frame, gpointer data)