aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Miller <nwg.piotr@gmail.com>2021-11-24 10:55:24 +0100
committerGitHub <noreply@github.com>2021-11-24 10:55:24 +0100
commitc8541d4381622ba92b780d35c64a533c1e34dd1f (patch)
tree045214e1c8aea7ae5518771052fa76170e2be0bb
parent0451e5b615d8c23c760047cc01e8358af7acdddf (diff)
parentdae2b3d803fa32b1446afe94e6f4951d303a52c7 (diff)
downloadautotiling-c8541d4381622ba92b780d35c64a533c1e34dd1f.tar.gz
Merge pull request #32 from ErikReider/master
Fixed manually switching between layouts not working
-rw-r--r--autotiling/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotiling/main.py b/autotiling/main.py
index 280bb8b..dc237a2 100644
--- a/autotiling/main.py
+++ b/autotiling/main.py
@@ -113,8 +113,8 @@ 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.on(Event.MODE, handler)
i3.main()