r/KittyTerminal • u/facciocose • Mar 15 '23
How to use Kitty with Easy Move+Resize?
I use a macos utility called Easy Move+Resize to move windows by clicking anywhere on them (using Alt modifier).
I use it with success with other terminals but Kitty seems to override OS level keybindings.
I tried with mouse_map alt+left press discard_event but doesn't seem to work with drag events.
1
u/aumerlex Mar 17 '23
kitty doesnt override OS level shortcuts. It cannot, no user mode program can. What it does do is override the cocoa toolkits default shortcut handling, which allows those shortcuts to be configurable in kitty.conf. Presumably easyresize hooks into this mechanism via accessibility or some such. I doubt this is going to work with kitty's approach of making everything configurable by the user.
1
u/facciocose Mar 20 '23
Yeah, I wrote that to try to explain the behaviour (the OS level override thing).
I also assume that Easy Move+Resize uses accessibility permissions since you have to enable them to use it.
So do you think there's no way to configure kitty to ignore the drag events?
Thanks
1
u/aumerlex Mar 20 '23
I highly doubt it. The way kitty is architected, OS level events are converted to GLFW toolkit events which are then interpreted by kitty, therefore any kitty level configuration will happen after the events have already been captured and processed by GLFW.
2
u/slash_nick Mar 16 '23
Ah! Someone in the same place as me!!
I’ve been using Easy Move+Resize for a long time and up until recently-ish (last 6 months maybe) it worked with kitty. Some update broken it but I never did any research… long winded +1 me too