treeview: Set background on the widget's window
The widget window is usually covered by the bin_window. Its background color will become relevant when we introduce kinetic scrolling with overshooting.
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							ec25699f05
						
					
				
				
					commit
					3fb69a0cae
				
			@ -2193,6 +2193,7 @@ gtk_tree_view_ensure_background (GtkTreeView *tree_view)
 | 
			
		||||
  gtk_style_context_save (context);
 | 
			
		||||
  gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW);
 | 
			
		||||
  gtk_style_context_set_background (context, tree_view->priv->bin_window);
 | 
			
		||||
  gtk_style_context_set_background (context, gtk_widget_get_window (GTK_WIDGET (tree_view)));
 | 
			
		||||
  gtk_style_context_restore (context);
 | 
			
		||||
 | 
			
		||||
  gtk_style_context_set_background (context, tree_view->priv->header_window);
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user