view: move view_moved() out of view_impl_apply_geometry()

This commit is contained in:
John Lindgren 2025-12-01 13:58:18 -05:00 committed by Hiroaki Yamamoto
parent 5ea617a393
commit 27aa8173f3
3 changed files with 2 additions and 5 deletions

View file

@ -65,7 +65,6 @@ view_impl_apply_geometry(struct view *view, int w, int h)
{
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.
@ -100,8 +99,4 @@ view_impl_apply_geometry(struct view *view, int w, int h)
current->width = w;
current->height = h;
if (!wlr_box_equal(current, &old)) {
view_moved(view);
}
}