Even if we have an RGBA colourmap, we don't really want one unless we have compositing going on

This commit is contained in:
Chris Jones 2010-04-06 20:51:29 +01:00
parent ebb262834a
commit dec2e53cbb

View File

@ -244,6 +244,9 @@ class Window(Container, gtk.Window):
def set_real_transparency(self, value=True):
"""Enable RGBA if supported on the current screen"""
if self.is_composited() == False:
value = False
screen = self.get_screen()
if value:
dbg('setting rgba colormap')