aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-03-30 17:24:29 -0400
committerLibravatar emersion <contact@emersion.fr>2018-03-30 17:24:29 -0400
commit3a68c012a9a32a0cda4fff772a370558d52077be (patch)
tree510afb226c8ba0984a90e3b0b700dc87f289c92e /sway/desktop
parentFix white screen due to bad cast (diff)
downloadsway-3a68c012a9a32a0cda4fff772a370558d52077be.tar.gz
sway-3a68c012a9a32a0cda4fff772a370558d52077be.tar.zst
sway-3a68c012a9a32a0cda4fff772a370558d52077be.zip
Remove debug, add explicit TODO
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c3
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
199static void render_output(struct sway_output *output, struct timespec *when, 199static 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);