GNOME Bugzilla – Bug 736817
Creating cairo surfaces of the wrong depth causes fatal BadMatch errors
Last modified: 2014-09-22 13:28:54 UTC
Created attachment 286402 [details] [review] xutils: Support non-standard depths for icon pixmaps Currently the presumption is that applications assign a Pixmap for their icon image using the default visual for the screen, or as an A1 bitmap for the icon mask. At least SDL doesn't conform to this rule and always uses 32-bit ARGB Pixmaps. This cases the XCopyArea used by Cairo to grab the image surface from the Pixmap to fail as the source Pixmap and the cairo surface are of different depths and triggers a BadMatch - killing libwnck and its client gnome-shell/gala et al.
Created attachment 286403 [details] [review] xutils: Support non-standard depths for icon pixmaps git add is your friend.
Review of attachment 286403 [details] [review]: Agree, thanks!
Hmm, Permission denied (publickey). Long time no use, looks like I need to reactivate my account. I just fixed up a spelling mistake in the changelog, could I leave it in your hands to apply?
Created attachment 286444 [details] [review] xutils: Support non-standard depths for icon pixmaps Spelling fix.