From dddc4f5ed8b371d9ee6b5e99f4140cf8aaf91b9a Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Sat, 4 Dec 2021 10:06:21 -0500 Subject: [PATCH] action: Switch to next window when pressing Alt-Tab once In OpenBox (as in most other stacking window managers), pressing Alt-Tab once will cycle to the next window. This is especially convenient in workflows which require switching back and forth frequently between the two top windows. --- src/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.c b/src/action.c index 692d9f21..1d10b9bc 100644 --- a/src/action.c +++ b/src/action.c @@ -52,7 +52,7 @@ action(struct view *activator, struct server *server, const char *action, const view_snap_to_edge(activator_or_focused_view(activator, server), command); } else if (!strcasecmp(action, "NextWindow")) { server->cycle_view = - desktop_cycle_view(server, server->cycle_view, LAB_CYCLE_DIR_NONE); + desktop_cycle_view(server, server->cycle_view, LAB_CYCLE_DIR_FORWARD); osd_update(server); } else if (!strcasecmp(action, "Reconfigure")) { spawn_async_no_shell("killall -SIGHUP labwc");