mirror of
https://github.com/labwc/labwc.git
synced 2026-02-07 04:07:42 -05:00
view: move view_moved() out of view_impl_apply_geometry()
This commit is contained in:
parent
5ea617a393
commit
27aa8173f3
3 changed files with 2 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue