From b95d7e8276e31a3414ec4d5ee13191c3f253fa1c Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 1 Aug 2019 15:20:22 -0400 Subject: [PATCH] iconcache: Support 16bit icons Mutter current crashes if an application sets a 16-bit color depth icon in its window manager hints. This commit fixes the crash. https://gitlab.gnome.org/GNOME/mutter/merge_requests/710 --- src/x11/iconcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c index 15d72da65..69d4d14f3 100644 --- a/src/x11/iconcache.c +++ b/src/x11/iconcache.c @@ -297,6 +297,7 @@ standard_pict_format_for_depth (int depth) return PictStandardA1; case 24: return PictStandardRGB24; + case 16: case 32: return PictStandardARGB32; default: