mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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
This commit is contained in:
parent
5b98cc7a3a
commit
b95d7e8276
@ -297,6 +297,7 @@ standard_pict_format_for_depth (int depth)
|
||||
return PictStandardA1;
|
||||
case 24:
|
||||
return PictStandardRGB24;
|
||||
case 16:
|
||||
case 32:
|
||||
return PictStandardARGB32;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user