From 5dc92aa134a9b8452faa5628a5d7c28f94067525 Mon Sep 17 00:00:00 2001 From: Sebastian Wick Date: Mon, 18 Dec 2023 13:26:50 +0100 Subject: [PATCH] Revert "background: Make the final monitor texture RGB instead of RGBA" This reverts commit 93e938e22fa2cf1c13c3abde49e174f31b3c5f0f. The alpha channel is required for the background-color to show where the background-image is not visible. Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1911 Part-of: --- src/compositor/meta-background.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor/meta-background.c b/src/compositor/meta-background.c index 7d56cf6c6..43ba461c3 100644 --- a/src/compositor/meta-background.c +++ b/src/compositor/meta-background.c @@ -823,7 +823,7 @@ meta_background_get_texture (MetaBackground *self, monitor->texture = meta_create_texture (texture_width, texture_height, - COGL_TEXTURE_COMPONENTS_RGB, + COGL_TEXTURE_COMPONENTS_RGBA, META_TEXTURE_FLAGS_NONE); offscreen = cogl_offscreen_new_with_texture (monitor->texture); monitor->fbo = COGL_FRAMEBUFFER (offscreen);