aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoshe Sherman <moshesher1998@gmail.com>2021-03-15 15:23:42 +0200
committerMoshe Sherman <moshesher1998@gmail.com>2021-03-15 15:23:42 +0200
commit014e2966d6de76a1dce34cd49ca6577bff465695 (patch)
tree39ea5a1d245593a9152b4db4a65724e7b7f5ae9e
parent2ca8e323e90f88f60dfea6c25e0af3b8ab28b781 (diff)
downloadautotiling-014e2966d6de76a1dce34cd49ca6577bff465695.tar.gz
add WINDOW_FOCUS back
-rw-r--r--autotiling/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotiling/main.py b/autotiling/main.py
index 1033b76..280bb8b 100644
--- a/autotiling/main.py
+++ b/autotiling/main.py
@@ -113,6 +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.main()