projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slight improvement to cursor blink timing: since the cursor doesn't
[u/mdw/putty]
/
unix
/
pterm.c
diff --git
a/unix/pterm.c
b/unix/pterm.c
index
a374d50
..
59a99c1
100644
(file)
--- a/
unix/pterm.c
+++ b/
unix/pterm.c
@@
-1218,7
+1218,7
@@
void destroy(GtkWidget *widget, gpointer data)
gint focus_event(GtkWidget *widget, GdkEventFocus *event, gpointer data)
{
struct gui_data *inst = (struct gui_data *)data;
gint focus_event(GtkWidget *widget, GdkEventFocus *event, gpointer data)
{
struct gui_data *inst = (struct gui_data *)data;
-
inst->term->has_focus = event->in
;
+
term_set_focus(inst->term, event->in)
;
term_update(inst->term);
show_mouseptr(inst, 1);
return FALSE;
term_update(inst->term);
show_mouseptr(inst, 1);
return FALSE;