aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}