mirror of
https://github.com/labwc/labwc.git
synced 2026-02-27 01:40:30 -05:00
ssd: refactor in preparation for making ssd_visible_box() private
Prepare to move code from output/render functions to ssd. We want rendering functions to just render, not calculate decoration geometry and such like.
This commit is contained in:
parent
5f01c49b72
commit
8c96c65018
5 changed files with 9 additions and 13 deletions
|
|
@ -69,7 +69,7 @@ handle_commit(struct wl_listener *listener, void *data)
|
|||
view->pending_move_resize.configure_serial = 0;
|
||||
}
|
||||
}
|
||||
ssd_update_geometry(view);
|
||||
ssd_update_geometry(view, false);
|
||||
damage_view_part(view);
|
||||
}
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ xdg_toplevel_view_configure(struct view *view, struct wlr_box geo)
|
|||
} else if (view->pending_move_resize.configure_serial == 0) {
|
||||
view->x = geo.x;
|
||||
view->y = geo.y;
|
||||
ssd_update_geometry(view);
|
||||
ssd_update_geometry(view, false);
|
||||
damage_all_outputs(view->server);
|
||||
}
|
||||
}
|
||||
|
|
@ -174,7 +174,7 @@ xdg_toplevel_view_move(struct view *view, double x, double y)
|
|||
{
|
||||
view->x = x;
|
||||
view->y = y;
|
||||
ssd_update_geometry(view);
|
||||
ssd_update_geometry(view, false);
|
||||
damage_all_outputs(view->server);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue