fixes a problem with urxvt not refreshing.
- the text blink callback was called even when no blinking
text was visible.
+ - pre-8.4 slipwheeling behaviour has been reinstated.
8.7 Sun Nov 25 10:23:49 CET 2007
- update libev with an important bugfix that would cause crashes
display->flush ();
- if (want_refresh && !ev_is_active (&flush_ev))
+ if (want_refresh && !flush_ev.is_active ())
flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally
}
/* don't clobber the current delay if we are
* already in the middle of scrolling.
*/
- if (!ev_is_active (&sel_scroll_ev))
+ if (!sel_scroll_ev.is_active ())
sel_scroll_ev.start (SCROLLBAR_INITIAL_DELAY, SCROLLBAR_CONTINUOUS_DELAY);
/* save the event params so we can highlight
/* we are within the text window, so we
* shouldn't be scrolling
*/
- if (ev_is_active (&sel_scroll_ev))
- sel_scroll_ev.stop();
+ sel_scroll_ev.stop();
}
#endif
#ifdef MOUSE_THRESHOLD
else if (scrollbarrxvt_dnButton (ev.y))
upordown = 1; /* down */
}
+
if (upordown)
{
#ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING
- cont_scroll_ev.start (SCROLLBAR_INITIAL_DELAY, SCROLLBAR_CONTINUOUS_DELAY);
+ if (!cont_scroll_ev.is_active ())
+ cont_scroll_ev.start (SCROLLBAR_INITIAL_DELAY, SCROLLBAR_CONTINUOUS_DELAY);
#endif
if (scr_page (upordown < 0 ? UP : DN, 1))
{
}
#ifdef SELECTION_SCROLLING
- if (ev_is_active (&sel_scroll_ev))
- sel_scroll_ev.stop();
+ sel_scroll_ev.stop();
#endif
if (ev.window == vt)
if (mouse_slip_wheel_speed < -nrow) mouse_slip_wheel_speed = -nrow;
if (mouse_slip_wheel_speed > +nrow) mouse_slip_wheel_speed = +nrow;
- slip_wheel_ev.start (SCROLLBAR_CONTINUOUS_DELAY, SCROLLBAR_CONTINUOUS_DELAY);
+ if (!slip_wheel_ev.is_active ())
+ slip_wheel_ev.start (SCROLLBAR_CONTINUOUS_DELAY, SCROLLBAR_CONTINUOUS_DELAY);
}
else
{