Move output commit out of output_render()

That way output_render() only does what it says on the tin.
This commit is contained in:
Simon Ser 2023-02-22 18:38:19 +01:00 committed by Simon Zeni
parent d6cb4fa8de
commit c2ccc0c9d4
3 changed files with 38 additions and 33 deletions

View file

@ -112,8 +112,7 @@ bool output_has_opaque_overlay_layer_surface(struct sway_output *output);
struct sway_workspace *output_get_active_workspace(struct sway_output *output);
void output_render(struct sway_output *output, struct timespec *when,
pixman_region32_t *damage);
void output_render(struct sway_output *output, pixman_region32_t *damage);
void output_surface_for_each_surface(struct sway_output *output,
struct wlr_surface *surface, double ox, double oy,