aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-30 17:24:29 -0400
committeremersion <contact@emersion.fr>2018-03-30 17:24:29 -0400
commit3a68c012a9a32a0cda4fff772a370558d52077be (patch)
tree510afb226c8ba0984a90e3b0b700dc87f289c92e
parent50219564c2492e4ce0bc788f062554f8a99d86f4 (diff)
Remove debug, add explicit TODO
-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,
static void render_output(struct sway_output *output, struct timespec *when,
pixman_region32_t *damage) {
- wlr_log(L_DEBUG, "render");
struct wlr_output *wlr_output = output->wlr_output;
struct wlr_renderer *renderer =
wlr_backend_get_renderer(wlr_output->backend);
@@ -210,7 +209,7 @@ static void render_output(struct sway_output *output, struct timespec *when,
goto renderer_end;
}
- // TODO
+ // TODO: don't damage the whole output here
int width, height;
wlr_output_transformed_resolution(wlr_output, &width, &height);
pixman_region32_union_rect(damage, damage, 0, 0, width, height);