display->flush ();
if (want_refresh && !ev_is_active (&flush_ev))
- flush_ev.again ();
+ flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally
}
void
case MapNotify:
mapped = 1;
#ifdef TEXT_BLINK
- text_blink_ev.again ();
+ text_blink_ev.start ();
#endif
HOOK_INVOKE ((this, HOOK_MAP_NOTIFY, DT_XEVENT, &ev, DT_END));
break;
#endif
child_ev.set <rxvt_term, &rxvt_term::child_cb> (this);
prepare_ev.set <rxvt_term, &rxvt_term::prepare_cb> (this);
- flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this); flush_ev.set (0., 1. / 60.); // refresh at max. 60 Hz normally
+ flush_ev.set <rxvt_term, &rxvt_term::flush_cb> (this);
destroy_ev.set <rxvt_term, &rxvt_term::destroy_cb> (this);
pty_ev.set <rxvt_term, &rxvt_term::pty_cb> (this);
incr_ev.set <rxvt_term, &rxvt_term::incr_cb> (this);
{
if (!ev_is_active (&text_blink_ev))
{
- text_blink_ev.start (TEXT_BLINK_INTERVAL, TEXT_BLINK_INTERVAL);
+ text_blink_ev.again ();
hidden_text = 0;
}
else if (hidden_text)