]> Pileus Git - ~andy/gtk/commit
Fix a crash in gnome-terminal when using a compositor
authorMatthias Clasen <mclasen@redhat.com>
Sat, 13 Nov 2010 00:19:48 +0000 (19:19 -0500)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 13 Nov 2010 06:23:34 +0000 (15:23 +0900)
commitc68a4ad4f602b6d25369b6ff78b85a43901711d8
treedf8e7c8aebf4e4dae88ffb3520ff131715e78f8f
parent7d11c16b178e31b0e8a71aaeb2180fcda249bb1a
Fix a crash in gnome-terminal when using a compositor

In this case, gnome-terminal sets an RGBA visual on its window,
and we need to be careful when creating the icon pixmap, to create
the pixmap with the same depth as the visual, or we risk a BadMatch
from XRenderCreatePicture deep inside cairo.
gdk/x11/gdkwindow-x11.c