From e0569deacf33de1b8f90b259893451891716a238 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 17 Jul 2021 14:47:47 +0200 Subject: [PATCH] i3-companion: fix check of exclusive app in current workspace --- bin/i3-companion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/i3-companion b/bin/i3-companion index ed0b678..06caba7 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -342,7 +342,7 @@ async def worksplace_exclusive(i3, event): # Get the window workspace. From an event, w.workspace() is None, # 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 # current window and windows of the same class.