I’ve made a gesture of touchpad: Force-click the right top = cmd + ctrl + F = Make the window size entire. So whenever I do it, I can toggle the window’s size between being entire and the previous size.
I wanna make a similar gesture: Click the right top = Toggle between making the window tile fully or the previous size.
How can I make it?