Skip to content
Snippets Groups Projects
Commit fdd268ca authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

Fix: Do not change workspace before focus

parent 4bb5087a
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ def parse_workspace(w_str): ...@@ -45,7 +45,7 @@ def parse_workspace(w_str):
def goto_workspace(n_master, n_slave): def goto_workspace(n_master, n_slave):
master, slave = shared.workspace_on[shared.output] 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): def move_container(master, slave):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment