set_colors before foreground/background/dim
This commit is contained in:
		
							parent
							
								
									a05d66ec90
								
							
						
					
					
						commit
						e39418eaca
					
				| @ -428,6 +428,10 @@ static void load_config(GtkWindow *window, VteTerminal *vte, | |||||||
|             g_strfreev(triplet); |             g_strfreev(triplet); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         if (success) { | ||||||
|  |             vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         if (get_config_color(config, "dim", &color)) { |         if (get_config_color(config, "dim", &color)) { | ||||||
|             vte_terminal_set_color_dim(vte, &color); |             vte_terminal_set_color_dim(vte, &color); | ||||||
|         } |         } | ||||||
| @ -440,10 +444,6 @@ static void load_config(GtkWindow *window, VteTerminal *vte, | |||||||
|             vte_terminal_set_color_background(vte, &color); |             vte_terminal_set_color_background(vte, &color); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if (success) { |  | ||||||
|             vte_terminal_set_colors(vte, NULL, NULL, palette, palette_size); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         if (get_config_color(config, "cursor", &color)) { |         if (get_config_color(config, "cursor", &color)) { | ||||||
|             vte_terminal_set_color_cursor(vte, &color); |             vte_terminal_set_color_cursor(vte, &color); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Micay
						Daniel Micay