Support a very simple root-menu

This commit is contained in:
Johan Malm 2020-10-19 22:14:17 +01:00
parent f49a3a0395
commit dc5d1ab976
9 changed files with 255 additions and 36 deletions

View file

@ -25,7 +25,7 @@ action(struct server *server, const char *action, const char *command)
desktop_next_view(server, server->cycle_view);
} else if (!strcasecmp(action, "Reconfigure")) {
reconfigure();
} else if (!strcasecmp(action, "debug-views")) {
} else if (!strcasecmp(action, "Debug")) {
dbg_show_views(server);
} else {
warn("action (%s) not supported", action);