From 3a3d77042a1f2359173b7c166842c81f04eaa413 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Sat, 27 Mar 2021 11:06:37 +0800 Subject: [PATCH] tune --- src/kernel/compsor-fallback.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kernel/compsor-fallback.c b/src/kernel/compsor-fallback.c index 1087833b..4494732e 100644 --- a/src/kernel/compsor-fallback.c +++ b/src/kernel/compsor-fallback.c @@ -954,6 +954,9 @@ static unsigned int composite_layers (CompositorCtxt* ctxt, MG_Layer* layers[], } else { // only composite the wallpaper + ctxt->layer = NULL; + ctxt->offx = 0; + ctxt->offy = 0; composite_wallpaper (ctxt); } @@ -974,6 +977,9 @@ static unsigned int composite_layers (CompositorCtxt* ctxt, MG_Layer* layers[], } else { // only composite the wallpaper + ctxt->layer = NULL; + ctxt->offx = 0; + ctxt->offy = 0; composite_wallpaper (ctxt); }