/* If any "best" edges were encountered during this move, snap motion */
edges_adjust_resize_geom(view, next_edges,
- view->server->resize_edges, new_geom, /* use_pending */ false);
+ resize_edges, new_geom, /* use_pending */ false);
/*
* Record effective geometry after snapping in case the client opts to
return;
}
- /* Only update constraints when view geometry matches expectation */
- if (!wlr_box_equal(&view->pending, &last_snap_hit.geom)) {
+ /* Only update constraints when pending view dimensions match expectation */
+ if (view->pending.width != last_snap_hit.geom.width) {
+ return;
+ }
+
+ if (view->pending.height != last_snap_hit.geom.height) {
return;
}