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:
Johan Malm 2021-08-22 14:12:05 +01:00
parent 5f01c49b72
commit 8c96c65018
5 changed files with 9 additions and 13 deletions

View file

@ -22,7 +22,7 @@ handle_commit(struct wl_listener *listener, void *data)
view->pending_move_resize.height - view->h;
view->pending_move_resize.update_y = false;
}
ssd_update_geometry(view);
ssd_update_geometry(view, false);
damage_view_whole(view);
}
@ -107,7 +107,7 @@ move(struct view *view, double x, double y)
struct wlr_xwayland_surface *s = view->xwayland_surface;
wlr_xwayland_surface_configure(s, (int16_t)x, (int16_t)y,
(uint16_t)s->width, (uint16_t)s->height);
ssd_update_geometry(view);
ssd_update_geometry(view, false);
damage_all_outputs(view->server);
}