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. |
||
---|---|---|
.. | ||
async-getprop.c | ||
async-getprop.h | ||
events.c | ||
events.h | ||
group-private.h | ||
group-props.c | ||
group-props.h | ||
group.c | ||
iconcache.c | ||
iconcache.h | ||
mutter-Xatomtype.h | ||
session.c | ||
session.h | ||
testasyncgetprop.c | ||
window-props.c | ||
window-props.h | ||
window-x11-private.h | ||
window-x11.c | ||
window-x11.h | ||
xprops.c | ||
xprops.h |