summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2019-08-05 14:50:04 -0400
committerJonas Ã…dahl <jadahl@gmail.com>2019-08-27 18:47:41 +0300
commit1a5cba5df52bd4fb780cf637811e238941033b63 (patch)
tree431ba30dbabedbd0840be569d8a1d1560b9d9a7d
parentcd0990c5818f063d22c2802d88842b43b9c32a1e (diff)
downloadmutter-1a5cba5df52bd4fb780cf637811e238941033b63.tar.gz
Revert "iconcache: Support 16bit icons"
This reverts commit b95d7e8276e31a3414ec4d5ee13191c3f253fa1c. It's poisoning cairo's GC cache with a GC that has the wrong colordepth, leading to a crash in unrelated code later on. https://gitlab.gnome.org/GNOME/mutter/merge_requests/715
-rw-r--r--src/x11/iconcache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c
index 69d4d14f3..15d72da65 100644
--- a/src/x11/iconcache.c
+++ b/src/x11/iconcache.c
@@ -297,7 +297,6 @@ standard_pict_format_for_depth (int depth)
return PictStandardA1;
case 24:
return PictStandardRGB24;
- case 16:
case 32:
return PictStandardARGB32;
default: