edges: limit edge attraction and resistance...

...to edges actually encountered by motion during interactive moves and
resizes.

In addition, ignore edge resistance and attraction for minimized views.
This commit is contained in:
Andrew J. Hesford 2024-02-02 14:43:52 -05:00 committed by Johan Malm
parent 14f5733584
commit cf34e60240
6 changed files with 233 additions and 67 deletions

View file

@ -193,7 +193,7 @@ view_is_focusable_from(struct view *view, struct wlr_surface *prev)
* They may be called repeatably during output layout changes.
*/
static enum view_edge
enum view_edge
view_edge_invert(enum view_edge edge)
{
switch (edge) {