repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: d18d12881d8940fb551c35463be755f0f9e785f7:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit d18d12881d8940fb551c35463be755f0f9e785f7
Author: Marc Lehmann 
Date:   Fri Dec 14 02:27:54 2007 +0000

    mikachu 2

diff --git a/src/command.C b/src/command.C
index 900ebc49b6f0a4d404e2cc08ebbf0d6156de911c..
index ..d13af0a76fd454d60f9797cd3a1feb4f82e493c4 100644
--- a/src/command.C
+++ b/src/command.C
@@ -1116,17 +1116,15 @@ rxvt_term::sel_scroll_cb (ev::timer &w, int revents)
 void
 rxvt_term::slip_wheel_cb (ev::timer &w, int revents)
 {
-  if (mouse_slip_wheel_speed == 0
-      || mouse_slip_wheel_speed < 0 ? scr_page (DN, -mouse_slip_wheel_speed)
-                                    : scr_page (UP,  mouse_slip_wheel_speed))
-    {
-      if (view_start == top_row || view_start == 0)
-        mouse_slip_wheel_speed = 0;
+  if (mouse_slip_wheel_speed < 0 ? scr_page (DN, -mouse_slip_wheel_speed)
+                                 : scr_page (UP,  mouse_slip_wheel_speed))
+    want_refresh = 1;

-      want_refresh = 1;
+  if (view_start == top_row || view_start == 0 || mouse_slip_wheel_speed == 0)
+    {
+      mouse_slip_wheel_speed = 0;
+      w.stop ();
     }
-  else
-    w.stop ();
 }
 #endif

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