(gtk) #761: fix colormap issue with compiz. patch by kman.

This commit is contained in:
Charles Kerr
2008-03-05 01:17:30 +00:00
parent daddf2c3ef
commit 26561fc31f

View File

@@ -456,7 +456,7 @@ tr_window_new( GtkUIManager * ui_manager, TrCore * core )
GdkScreen * screen = gtk_widget_get_screen( self );
GdkColormap * colormap = gdk_screen_get_rgba_colormap( screen );
if( colormap && gdk_screen_is_composited( screen ) )
gtk_widget_set_default_colormap( colormap );
gtk_widget_set_colormap( self, colormap );
}
#endif