disable opacity properly (max guint16, not min)
This commit is contained in:
		
							parent
							
								
									6fb58f5688
								
							
						
					
					
						commit
						6d82e500d2
					
				| @ -905,7 +905,7 @@ static void load_config(GtkWindow *window, VteTerminal *vte, config_info *info, | |||||||
|                 vte_terminal_set_opacity(vte, (guint16)(0xffff * (1 - cfgdouble))); |                 vte_terminal_set_opacity(vte, (guint16)(0xffff * (1 - cfgdouble))); | ||||||
|             } else { |             } else { | ||||||
|                 visual = gdk_screen_get_system_visual(screen); |                 visual = gdk_screen_get_system_visual(screen); | ||||||
|                 vte_terminal_set_opacity(vte, 0); |                 vte_terminal_set_opacity(vte, G_MAXUINT16); | ||||||
|             } |             } | ||||||
|             if (visual != gtk_widget_get_visual(GTK_WIDGET(window))) { |             if (visual != gtk_widget_get_visual(GTK_WIDGET(window))) { | ||||||
|                 gtk_widget_set_visual(GTK_WIDGET(window), visual); |                 gtk_widget_set_visual(GTK_WIDGET(window), visual); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Micay
						Daniel Micay