From: root Date: Tue, 11 Dec 2007 15:42:51 +0000 (+0000) Subject: µopt X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=56fe5b6eec3e277abefffa108cf8c1d4a090c0dc;p=dana%2Furxvt.git µopt --- diff --git a/src/command.C b/src/command.C index 8cc5879c..5501a29c 100644 --- a/src/command.C +++ b/src/command.C @@ -1051,7 +1051,7 @@ rxvt_term::prepare_cb (ev::prepare &w, int revents) display->flush (); if (want_refresh && !ev_is_active (&flush_ev)) - flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally + flush_ev.again (); } void @@ -1478,7 +1478,7 @@ rxvt_term::x_cb (XEvent &ev) case MapNotify: mapped = 1; #ifdef TEXT_BLINK - text_blink_ev.start (TEXT_BLINK_INTERVAL); + text_blink_ev.again (); #endif HOOK_INVOKE ((this, HOOK_MAP_NOTIFY, DT_XEVENT, &ev, DT_END)); break; diff --git a/src/main.C b/src/main.C index 4e0ff44a..f50644b8 100644 --- a/src/main.C +++ b/src/main.C @@ -160,7 +160,7 @@ rxvt_term::rxvt_term () cursor_blink_ev.set (this); #endif #ifdef TEXT_BLINK - text_blink_ev.set (this); + text_blink_ev.set (this); text_blink_ev.set (0., TEXT_BLINK_INTERVAL); #endif #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING cont_scroll_ev.set (this); @@ -188,7 +188,7 @@ rxvt_term::rxvt_term () #endif child_ev.set (this); prepare_ev.set (this); - flush_ev.set (this); + flush_ev.set (this); flush_ev.set (0., 1. / 60.); // refresh at max. 60 Hz normally destroy_ev.set (this); pty_ev.set (this); incr_ev.set (this);