easy-move-resize
easy-move-resize copied to clipboard
Feature request: Add window snapping
Would be great to support snapping a window's size or position to the edges of other windows, or the edges of the screen! Something similar to the way macOS Sierra and above support this natively, or Zooom/2's "Magnetics" feature.
Not sure if this is even possible, but if you can emulate the users drag going into the top bar instead of moving the window with code directly, one could download a program like Rectangle which adds really nice window snapping.
@Mjtlittle Dragging and snapping with Easy-move-resize combined with rectangle doesn't work for me. Snapping (from rectangle) works when I drag the window by the title bar, but not using the modifier key (thus using easy-move-resize.
@Mjtlittle Dragging and snapping with Easy-move-resize combined with rectangle doesn't work for me. Snapping (from rectangle) works when I drag the window by the title bar, but not using the modifier key (thus using easy-move-resize.
My comment was a proposal to look into the possibility of mapping (by updating easy-move-resize) a "modifier key drag" to a "title bar drag", so that it would work. I do not think this project should take on the scope of handling snapping itself. If the functionality of another app can augment this one, I think that's more ideal.