diff options
author | emersion <contact@emersion.fr> | 2018-03-30 17:24:29 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-30 17:24:29 -0400 |
commit | 3a68c012a9a32a0cda4fff772a370558d52077be (patch) | |
tree | 510afb226c8ba0984a90e3b0b700dc87f289c92e | |
parent | Fix white screen due to bad cast (diff) | |
download | sway-3a68c012a9a32a0cda4fff772a370558d52077be.tar.gz sway-3a68c012a9a32a0cda4fff772a370558d52077be.tar.zst sway-3a68c012a9a32a0cda4fff772a370558d52077be.zip |
Remove debug, add explicit TODO
-rw-r--r-- | sway/desktop/output.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 2bcbad18..c248b29e 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -198,7 +198,6 @@ static void render_layer(struct sway_output *output, | |||
198 | 198 | ||
199 | static void render_output(struct sway_output *output, struct timespec *when, | 199 | static void render_output(struct sway_output *output, struct timespec *when, |
200 | pixman_region32_t *damage) { | 200 | pixman_region32_t *damage) { |
201 | wlr_log(L_DEBUG, "render"); | ||
202 | struct wlr_output *wlr_output = output->wlr_output; | 201 | struct wlr_output *wlr_output = output->wlr_output; |
203 | struct wlr_renderer *renderer = | 202 | struct wlr_renderer *renderer = |
204 | wlr_backend_get_renderer(wlr_output->backend); | 203 | wlr_backend_get_renderer(wlr_output->backend); |
@@ -210,7 +209,7 @@ static void render_output(struct sway_output *output, struct timespec *when, | |||
210 | goto renderer_end; | 209 | goto renderer_end; |
211 | } | 210 | } |
212 | 211 | ||
213 | // TODO | 212 | // TODO: don't damage the whole output here |
214 | int width, height; | 213 | int width, height; |
215 | wlr_output_transformed_resolution(wlr_output, &width, &height); | 214 | wlr_output_transformed_resolution(wlr_output, &width, &height); |
216 | pixman_region32_union_rect(damage, damage, 0, 0, width, height); | 215 | pixman_region32_union_rect(damage, damage, 0, 0, width, height); |