{
struct wlr_box *current = &view->current;
struct wlr_box *pending = &view->pending;
- struct wlr_box old = *current;
/*
* Anchor right edge if resizing via left edge.
current->width = w;
current->height = h;
-
- if (!wlr_box_equal(current, &old)) {
- view_moved(view);
- }
}
if (update_required) {
view_impl_apply_geometry(view, size.width, size.height);
+ view_moved(view);
/*
* Some views (e.g., terminals that scale as multiples of rows
*/
if (current->width != state->width || current->height != state->height) {
view_impl_apply_geometry(view, state->width, state->height);
+ view_moved(view);
}
}