This commit is contained in:
Vincent Wei
2021-03-27 11:06:37 +08:00
parent 49e714431a
commit 3a3d77042a
+6
View File
@@ -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);
}