-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: d85c1d0d946a603c97b92ae5ae0d00790496d3eb:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit d85c1d0d946a603c97b92ae5ae0d00790496d3eb
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Tue Dec 11 15:42:51 2007 +0000

    µopt

diff --git a/src/command.C b/src/command.C

index 8cc5879c3e81f7d9421089f3d8449ffedc6c6595..

index ..5501a29ccc11cf9829a0ed9bef63c0123e32e51d 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 4e0ff44a6f8d0423ec9e789866bea61500193de4..

index ..f50644b8c682118d9276a1d7fa4495710cd1f22e 100644

--- a/src/main.C
+++ b/src/main.C
@@ -160,7 +160,7 @@ rxvt_term::rxvt_term ()
   cursor_blink_ev.set     <rxvt_term, &rxvt_term::cursor_blink_cb> (this);
 #endif
 #ifdef TEXT_BLINK
-  text_blink_ev.set       <rxvt_term, &rxvt_term::text_blink_cb>   (this);
+  text_blink_ev.set       <rxvt_term, &rxvt_term::text_blink_cb>   (this); text_blink_ev.set (0., TEXT_BLINK_INTERVAL);
 #endif
 #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING
   cont_scroll_ev.set      <rxvt_term, &rxvt_term::cont_scroll_cb>  (this);
@@ -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            <rxvt_term, &rxvt_term::flush_cb>   (this); flush_ev.set (0., 1. / 60.); // refresh at max. 60 Hz normally
   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);

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 13:18:36 2024