Added support for client supplied menus.

Also modified existing menustuff slightly (on some points I made some
things more consistent).
This commit is contained in:
robijn
2002-06-28 23:35:55 +00:00
parent a621a06268
commit 8ff8857eda
16 changed files with 1154 additions and 402 deletions
+6
View File
@@ -75,6 +75,8 @@ screen_create (char * id, Client * client)
return NULL;
}
menuscreen_add_screen (s);
return s;
}
@@ -86,6 +88,10 @@ screen_destroy (Screen * s)
if (!s)
return -1;
menuscreen_remove_screen (s);
screenlist_remove (s);
for (w=LL_GetFirst(s->widgetlist); w; w=LL_GetNext(s->widgetlist)) {
/* Free a widget...*/
widget_destroy (w);