From 78f0d45099ba7420575c128e66b7e31a2b4d44f4 Mon Sep 17 00:00:00 2001 From: Erik Reider Date: Wed, 27 Oct 2021 00:09:47 +0200 Subject: Fixed manually switching between layouts not working --- autotiling/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autotiling/main.py b/autotiling/main.py index 280bb8b..2bfcc5c 100644 --- a/autotiling/main.py +++ b/autotiling/main.py @@ -113,8 +113,7 @@ def main(): handler = partial(switch_splitting, debug=args.debug, workspaces=args.workspaces) i3 = Connection() - i3.on(Event.WINDOW_FOCUS, handler) - i3.on(Event.BINDING, handler) + i3.on(Event.WINDOW, handler) i3.main() -- cgit