mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
9b903e93e3
Kerbel Space Program, and perhaps some other SDL-based programs, use a really dumb way of specifying icons, which is totally non-standards-compliant. The ICCCM specifies that the icon_pixmap field of WM_HINTS should be a 1-bit-deep Pixmap, but we've seen applications set it to a pixmap of the root depth as well, so we support that. Kerbel Space Program seems to use it with a 32-bit depth Pixmap, signifying ARGB32 (which it is), along with a 1-bit icon_mask, which crashes us. Keep in mind that Pixmaps, by definition, have no Visual attached, so we simply have to make a guess at the correct visual based on the depth. Do that by assuming that a depth-32 visual always means ARGB32, which is a pretty safe bet. |
||
---|---|---|
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
autogen.sh | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
mutter.doap | ||
NEWS |