easy-move-resize icon indicating copy to clipboard operation
easy-move-resize copied to clipboard

Feature request: Add window snapping

Open ericwagner opened this issue 7 years ago • 3 comments

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.

ericwagner avatar Nov 09 '17 17:11 ericwagner

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 avatar Jun 29 '22 13:06 Mjtlittle

@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.

SuperheroNinja avatar Jul 08 '22 12:07 SuperheroNinja

@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.

Mjtlittle avatar Jul 08 '22 12:07 Mjtlittle