aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Pigott <rpigott@berkeley.edu>2021-04-01 02:52:31 -0700
committerSimon Ser <contact@emersion.fr>2021-04-01 12:24:33 +0200
commit62fbf33ce2a39373a5d122a99c04cc61272f122a (patch)
tree55641808858373a79ea4a1eafd8b67c0490d71bc
parentdb0d63313dec8a3036d06ef9a69271bac6bfa531 (diff)
output: damage whole output when exiting scanout
-rw-r--r--sway/desktop/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index cf4a9607..6d4f5342 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -553,6 +553,7 @@ static int output_repaint_timer_handler(void *data) {
if (last_scanned_out && !scanned_out) {
sway_log(SWAY_DEBUG, "Stopping fullscreen view scan out on %s",
output->wlr_output->name);
+ output_damage_whole(output);
}
last_scanned_out = scanned_out;