mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
(gtk) #761: fix colormap issue with compiz. patch by kman.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user