diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-22 18:38:19 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-02-22 13:37:44 -0500 |
commit | c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63 (patch) | |
tree | bd5c40f008c3f74dbe2c22ab047dc7b0721da51c /include | |
parent | Constify pixman_region32_t for rendering functions (diff) | |
download | sway-c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63.tar.gz sway-c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63.tar.zst sway-c2ccc0c9d4726a2d1f23f1696c7b6aa0f6cb1a63.zip |
Move output commit out of output_render()
That way output_render() only does what it says on the tin.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/output.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); | |||
112 | 112 | ||
113 | struct sway_workspace *output_get_active_workspace(struct sway_output *output); | 113 | struct sway_workspace *output_get_active_workspace(struct sway_output *output); |
114 | 114 | ||
115 | void output_render(struct sway_output *output, struct timespec *when, | 115 | void output_render(struct sway_output *output, pixman_region32_t *damage); |
116 | pixman_region32_t *damage); | ||
117 | 116 | ||
118 | void output_surface_for_each_surface(struct sway_output *output, | 117 | void output_surface_for_each_surface(struct sway_output *output, |
119 | struct wlr_surface *surface, double ox, double oy, | 118 | struct wlr_surface *surface, double ox, double oy, |