mutter/src/x11
Jasper St. Pierre 9b903e93e3 iconcache: Fix the icon of Kerbel Space Program
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.
2015-02-17 23:45:02 -08:00
..
async-getprop.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
async-getprop.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
events.c display: Remove ungrab_should_not_cause_focus_window 2015-01-17 17:55:36 -08:00
events.h Move all X11 event processing to a new file in x11/ 2014-06-11 16:28:45 -04:00
group-private.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group-props.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group-props.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
group.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
iconcache.c iconcache: Fix the icon of Kerbel Space Program 2015-02-17 23:45:02 -08:00
iconcache.h x11: Change the iconcache / window icons to being cairo surfaces 2014-12-31 21:11:21 -08:00
mutter-Xatomtype.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
session.c window: Rename get_geometry to get_session_geometry 2014-05-27 15:15:56 -04:00
session.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
testasyncgetprop.c Remove trailing whitespace 2014-05-02 09:34:48 -04:00
window-props.c window-props: use memcmp() to compare GtkBorder structs 2015-02-13 15:49:03 -08:00
window-props.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00
window-x11-private.h Move the resizepopup to a compositor-side feature 2014-12-29 17:44:41 -08:00
window-x11.c window-x11: Fix typo 2015-01-21 13:27:09 +01:00
window-x11.h window-props: Don't make another round-trip to fetch the opaque region 2014-07-13 22:51:25 -04:00
xprops.c xprops: free the text list content too 2014-05-07 19:04:54 +02:00
xprops.h Remove trailing whitespace 2014-05-02 09:34:48 -04:00