aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-10-07 17:42:32 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-10-07 17:42:32 +0300
commitb9155c5b80a6131ee5fcee462024cefdb453f50c (patch)
treea51b1989afd75d23655bd419abbaf56df9a5c6e9
parent052ea7b475e0c24c82ff7ccdefad63f3aeb8b020 (diff)
output-damage: fix setting pending_attach_render
-rw-r--r--types/wlr_output_damage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_output_damage.c b/types/wlr_output_damage.c
index fea5a93d..c95d6e88 100644
--- a/types/wlr_output_damage.c
+++ b/types/wlr_output_damage.c
@@ -55,7 +55,7 @@ static void output_handle_precommit(struct wl_listener *listener, void *data) {
// TODO: find a better way to access this info without a precommit
// handler
output_damage->pending_attach_render =
- output_is_direct_scanout(output, state->buffer);
+ !output_is_direct_scanout(output, state->buffer);
}
}