aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_output.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c
index a1777fbe..580488be 100644
--- a/types/wlr_output.c
+++ b/types/wlr_output.c
@@ -683,6 +683,9 @@ bool wlr_output_export_dmabuf(struct wlr_output *output,
}
void wlr_output_update_needs_frame(struct wlr_output *output) {
+ if (output->needs_frame) {
+ return;
+ }
output->needs_frame = true;
wlr_signal_emit_safe(&output->events.needs_frame, output);
}