--- rxvt-unicode/src/command.C 2007/12/05 08:46:30 1.371 +++ rxvt-unicode/src/command.C 2007/12/11 15:42:51 1.373 @@ -1050,8 +1050,8 @@ display->flush (); - if (want_refresh && !flush_ev.active) - flush_ev.start (1. / 60.); // refresh at max. 60 Hz normally + if (want_refresh && !ev_is_active (&flush_ev)) + flush_ev.again (); } void @@ -1478,7 +1478,7 @@ 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; @@ -1579,7 +1579,7 @@ /* don't clobber the current delay if we are * already in the middle of scrolling. */ - if (!sel_scroll_ev.active) + if (!ev_is_active (&sel_scroll_ev)) sel_scroll_ev.start (SCROLLBAR_INITIAL_DELAY, SCROLLBAR_CONTINUOUS_DELAY); /* save the event params so we can highlight @@ -1612,7 +1612,7 @@ /* we are within the text window, so we * shouldn't be scrolling */ - if (sel_scroll_ev.active) + if (ev_is_active (&sel_scroll_ev)) sel_scroll_ev.stop(); } #endif @@ -2068,7 +2068,7 @@ } #ifdef SELECTION_SCROLLING - if (sel_scroll_ev.active) + if (ev_is_active (&sel_scroll_ev)) sel_scroll_ev.stop(); #endif