From cc07dc35b4281a97464aceca23d18ae71af4bac1 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 18 Jul 2021 00:47:59 +0200 Subject: [PATCH] i3-companion: get it into 1000 lines! --- bin/i3-companion | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/i3-companion b/bin/i3-companion index 7813715..a6f7d88 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -327,8 +327,7 @@ async def workspace_exclusive(i3, event): with an exclusive app.""" if event == "inhibit-exclusive": logger.debug("inhibit exclusive workspace") - me = object() - workspace_exclusive.inhibited_by = me + workspace_exclusive.inhibited_by = me = object() await asyncio.sleep(1) if workspace_exclusive.inhibited_by is me: logger.info("cancel exclusive workspace inhibition")