From fdd268ca67a1981f1516bfcd6a802253bea2a2a0 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz> Date: Sat, 27 Aug 2022 21:20:52 +0200 Subject: [PATCH] Fix: Do not change workspace before focus --- woman/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/woman/lib.py b/woman/lib.py index e5dd773..791457a 100644 --- a/woman/lib.py +++ b/woman/lib.py @@ -45,7 +45,7 @@ def parse_workspace(w_str): def goto_workspace(n_master, n_slave): master, slave = shared.workspace_on[shared.output] - shared.qt_task("screenshot_and_goto", n_master, n_slave, master, slave) or shared.i3_cmd(f'workspace {workspace(n_master, n_slave)}') + shared.qt_task("screenshot_and_goto", n_master, n_slave, master, slave, otherwise=lambda: shared.i3_cmd(f'workspace {workspace(n_master, n_slave)}')) def move_container(master, slave): -- GitLab