summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r--src/terminal-window.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index c690dd2..0d3d1e9 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -106,7 +106,10 @@ struct _TerminalWindowPrivate
guint disposed : 1;
guint present_on_insert : 1;
- time_t focus_time;
+ /* Workaround until gtk+ bug #535557 is fixed */
+ guint icon_title_set : 1;
+
+ gint64 focus_time;
/* should we copy selection to clibpoard */
int copy_selection;
@@ -2430,7 +2433,7 @@ terminal_window_focus_in_event (GtkWidget *widget,
TerminalWindowPrivate *priv = window->priv;
if (event->in)
- priv->focus_time = time(NULL);
+ priv->focus_time = g_get_real_time () / G_USEC_PER_SEC;
return FALSE;
}