aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()