You could use the current cursor position with the minimize direction, since by default one could only minimize a window with a dock, right?
You could use the current cursor position with the minimize direction, since by default one could only minimize a window with a dock, right?