labwc / labwc

A Wayland window-stacking compositor

Home Page:https://labwc.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow snapping a window to screen corners

tokyo4j opened this issue · comments

My idea is adding a setting like <snapping cornerRange="10%"> and allow snapping a window to corners if the cursor is in the red region of outputs in the following figure.

snap-corner

commented

Good idea, I wrote about adding this thing earlier

I like the sound of this.
Best to merge this after 0.7.2

I used it a lot with kwin_x11. When I saw that it was missing in labwc, I defined right click actions on title-bar buttons for snapping to corners, but a direct mouse snapping will be much more comfortable.

I would really like that too, on wayfire I can use the corners to hang the windows with the mouse.

If we can define directly like with the regions that would be great