aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autotiling/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotiling/main.py b/autotiling/main.py
index 2bfcc5c..dc237a2 100644
--- a/autotiling/main.py
+++ b/autotiling/main.py
@@ -114,6 +114,7 @@ def main():
handler = partial(switch_splitting, debug=args.debug, workspaces=args.workspaces)
i3 = Connection()
i3.on(Event.WINDOW, handler)
+ i3.on(Event.MODE, handler)
i3.main()