osd: support 'alt-tab' on screen display

The osd window shows title, app_id/class and shell of all views that can
be cycled between.
This commit is contained in:
Johan Malm 2021-08-16 07:16:56 +01:00
parent 86c384b227
commit 77ade08158
8 changed files with 200 additions and 109 deletions

View file

@ -44,6 +44,7 @@ action(struct server *server, const char *action, const char *command)
} else if (!strcasecmp(action, "NextWindow")) {
server->cycle_view =
desktop_cycle_view(server, server->cycle_view);
osd_update(server);
} else if (!strcasecmp(action, "Reconfigure")) {
spawn_async_no_shell("killall -SIGHUP labwc");
} else if (!strcasecmp(action, "ShowMenu")) {