Commit f65f2fd6 authored by Kjartan Maraas's avatar Kjartan Maraas Committed by Kjartan Maraas

Fix black backgrounds in new terminals. Fix from Jon Nettleton <nettleton

2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* src/vte.c: (vte_terminal_visibility_notify): Fix black
	backgrounds in new terminals. Fix from Jon Nettleton
	<nettleton at gmail com>. Closes bug #125364. Has been
	in Fedora Core for months already.
parent 885b8c7e
2005-02-15 Kjartan Maraas <kmaraas@gnome.org>
* src/vte.c: (vte_terminal_visibility_notify): Fix black
backgrounds in new terminals. Fix from Jon Nettleton
<nettleton at gmail com>. Closes bug #125364. Has been
in Fedora Core for months already.
2005-02-15 Kjartan Maraas <kmaraas@gnome.org>
* src/keymap.c: (_vte_keymap_map): Fix keypad behaviour
......
......@@ -10635,9 +10635,13 @@ vte_terminal_focus_out(GtkWidget *widget, GdkEventFocus *event)
static gint
vte_terminal_visibility_notify(GtkWidget *widget, GdkEventVisibility *event)
{
VteTerminal *terminal;
g_return_val_if_fail(GTK_WIDGET(widget), FALSE);
g_return_val_if_fail(VTE_IS_TERMINAL(widget), FALSE);
(VTE_TERMINAL(widget))->pvt->visibility_state = event->state;
terminal = VTE_TERMINAL(widget);
terminal->pvt->visibility_state = event->state;
if (terminal->pvt->visibility_state == GDK_VISIBILITY_UNOBSCURED)
vte_invalidate_all(terminal);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment