mirror of
https://github.com/labwc/labwc.git
synced 2026-04-11 08:21:13 -04: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
|
|
@ -354,9 +354,9 @@ geometry_changed(struct view *view)
|
|||
}
|
||||
|
||||
void
|
||||
ssd_update_geometry(struct view *view)
|
||||
ssd_update_geometry(struct view *view, bool force)
|
||||
{
|
||||
if (!geometry_changed(view)) {
|
||||
if (!geometry_changed(view) && !force) {
|
||||
return;
|
||||
}
|
||||
struct ssd_part *part;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue