*** empty log message ***
authorroot <root>
Tue, 11 Dec 2007 18:00:06 +0000 (18:00 +0000)
committerroot <root>
Tue, 11 Dec 2007 18:00:06 +0000 (18:00 +0000)
src/command.C
src/main.C
src/screen.C

index 5501a29ccc11cf9829a0ed9bef63c0123e32e51d..9209b68e2ea811c2c80ecc13c6ca43aefa802b2e 100644 (file)
@@ -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.again ();
+    flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally
 }
 
 void
@@ -1478,7 +1478,7 @@ rxvt_term::x_cb (XEvent &ev)
       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;
index f50644b8c682118d9276a1d7fa4495710cd1f22e..3f6697b6dcc7692d10430e5985c167f082028486 100644 (file)
@@ -188,7 +188,7 @@ rxvt_term::rxvt_term ()
 #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);
index 1abf5d4ebbf8bc8d39ac932df788fc4f82d1e6fe..f0c5c6093e95cfd0c5ef33ba5928576e23fd3c34 100644 (file)
@@ -2323,7 +2323,7 @@ rxvt_term::scr_refresh () NOTHROW
                 {
                   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)