mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-30 13:24:21 +02:00
i3-companion: fix check of exclusive app in current workspace
This commit is contained in:
parent
b0ba3f72fd
commit
e0569deacf
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ async def worksplace_exclusive(i3, event):
|
||||||
|
|
||||||
# Get the window workspace. From an event, w.workspace() is None,
|
# Get the window workspace. From an event, w.workspace() is None,
|
||||||
# so search it in the tree.
|
# so search it in the tree.
|
||||||
current_workspace = tree.find_by_id(w.id).workspace()
|
current_workspace = tree.find_by_id(w.id).workspace().num
|
||||||
|
|
||||||
# Get the list of workspaces with an exclusive app, excluding the
|
# Get the list of workspaces with an exclusive app, excluding the
|
||||||
# current window and windows of the same class.
|
# current window and windows of the same class.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue