mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
30 lines
882 B
Text
30 lines
882 B
Text
From 7b8609eeb67bfea90e2a20409f870fd229af9a5d Mon Sep 17 00:00:00 2001
|
|
From: Alexander Orzechowski <orzechowski.alexander@gmail.com>
|
|
Date: Sat, 4 Jun 2022 18:18:02 -0400
|
|
Subject: [PATCH] wlr_output_commit_state: Make sure to clear the back buffer
|
|
|
|
Fixes: #3445
|
|
---
|
|
types/output/output.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/types/output/output.c b/types/output/output.c
|
|
index 85590ab63..4cf0fa8f5 100644
|
|
--- a/types/output/output.c
|
|
+++ b/types/output/output.c
|
|
@@ -654,10 +654,12 @@ bool wlr_output_test(struct wlr_output *output) {
|
|
bool wlr_output_commit(struct wlr_output *output) {
|
|
if (!output_basic_test(output)) {
|
|
wlr_log(WLR_ERROR, "Basic output test failed for %s", output->name);
|
|
+ output_clear_back_buffer(output);
|
|
return false;
|
|
}
|
|
|
|
if (!output_ensure_buffer(output)) {
|
|
+ output_clear_back_buffer(output);
|
|
return false;
|
|
}
|
|
|
|
--
|
|
GitLab
|
|
|