action: Implement shift to go backwards in OSD

Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
Joshua Ashton 2021-10-17 22:53:43 +00:00 committed by Johan Malm
parent d8a499deaa
commit 846ccb9eb9
4 changed files with 46 additions and 12 deletions

View file

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