From 43d8d3ed5dcffb6a031b3a54cd6bf57a251ce426 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Wed, 14 Dec 2022 07:36:07 +0000 Subject: [PATCH] backend: add a comment Signed-off-by: Yuxuan Shui --- src/backend/backend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/backend.c b/src/backend/backend.c index 6cfe7fb..f5b5479 100644 --- a/src/backend/backend.c +++ b/src/backend/backend.c @@ -197,6 +197,8 @@ void paint_all_new(session_t *ps, struct managed_win *t, bool ignore_damage) { // region will be because of blur, we assume the worst case here. // That is, the damaged window is at the bottom of the stack, and // all other windows have semi-transparent background + // + // TODO(yshui): maybe we don't need to resize reg_damage, only reg_paint? int resize_factor = 1; if (t) { resize_factor = t->stacking_rank;