From c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 22 Feb 2023 18:38:19 +0100 Subject: Move output commit out of output_render() That way output_render() only does what it says on the tin. --- include/sway/output.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/sway/output.h b/include/sway/output.h index da625315..2aa1b278 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -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, -- cgit v1.2.3