aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Reider <ereider20010103@gmail.com>2021-10-27 00:09:47 +0200
committerErik Reider <ereider20010103@gmail.com>2021-10-27 00:09:47 +0200
commit78f0d45099ba7420575c128e66b7e31a2b4d44f4 (patch)
tree54857b5c7d2d7f74f21a51213c6a6d3b7734d1d5
parent0451e5b615d8c23c760047cc01e8358af7acdddf (diff)
downloadautotiling-78f0d45099ba7420575c128e66b7e31a2b4d44f4.tar.gz
Fixed manually switching between layouts not working
-rw-r--r--autotiling/main.py3
1 files changed, 1 insertions, 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()