diff options
author | Moshe Sherman <moshesher1998@gmail.com> | 2021-03-15 15:12:47 +0200 |
---|---|---|
committer | Moshe Sherman <moshesher1998@gmail.com> | 2021-03-15 15:12:47 +0200 |
commit | 2ca8e323e90f88f60dfea6c25e0af3b8ab28b781 (patch) | |
tree | 837f602710ebff6d194e30fb8caf680a90ca3176 | |
parent | 312e7e21cd4f8d664fd0f2027a5e3a2e79735899 (diff) | |
download | autotiling-2ca8e323e90f88f60dfea6c25e0af3b8ab28b781.tar.gz |
replace WINDOW_FOCUS event with BINDING
-rw-r--r-- | autotiling/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotiling/main.py b/autotiling/main.py index 896034b..1033b76 100644 --- a/autotiling/main.py +++ b/autotiling/main.py @@ -113,7 +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() |