mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 20:18:49 +02:00
i3-companion: fix case where candidate workspace is scratchpad
This commit is contained in:
parent
e91e96c77b
commit
30df63aea1
1 changed files with 1 additions and 0 deletions
|
@ -460,6 +460,7 @@ async def workspace_exclusive(i3, event):
|
||||||
if w.id != ow.id and (w.window_class or object()) == ow.window_class
|
if w.id != ow.id and (w.window_class or object()) == ow.window_class
|
||||||
}
|
}
|
||||||
candidate_workspaces -= exclusive_workspaces
|
candidate_workspaces -= exclusive_workspaces
|
||||||
|
candidate_workspaces -= {-1} # scratchpad
|
||||||
|
|
||||||
if candidate_workspaces:
|
if candidate_workspaces:
|
||||||
# Use one of the candidates
|
# Use one of the candidates
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue