--- rxvt-unicode/src/command.C 2003/12/24 06:26:52 1.26 +++ rxvt-unicode/src/command.C 2004/01/19 17:26:43 1.29 @@ -1,7 +1,7 @@ /*--------------------------------*-C-*---------------------------------* * File: command.c *----------------------------------------------------------------------* - * $Id: command.C,v 1.26 2003/12/24 06:26:52 pcg Exp $ + * $Id: command.C,v 1.29 2004/01/19 17:26:43 pcg Exp $ * * All portions of code are copyright by their respective author/s. * Copyright (c) 1992 John Bovey, University of Kent at Canterbury @@ -754,13 +754,16 @@ while (XPending (Xdisplay)); } +#ifdef CURSOR_BLINK void rxvt_term::blink_cb (time_watcher &w) { - w.at += BLINK_INTERVAL; hidden_cursor = !hidden_cursor; want_refresh = 1; + + w.start (w.at + BLINK_INTERVAL); } +#endif void rxvt_term::x_cb (io_watcher &w, short revents) @@ -1019,26 +1022,22 @@ #endif } +#ifdef POINTER_BLANK void rxvt_term::pointer_unblank () { XDefineCursor (Xdisplay, TermWin.vt, TermWin_cursor); recolour_cursor (); -#ifdef POINTER_BLANK hidden_pointer = 0; if (Options & Opt_pointerBlank) pointer_ev.start (NOW + pointerBlankDelay); -#endif } -#ifdef POINTER_BLANK void rxvt_term::pointer_blank () { - pointer_ev.stop (); - if (!(Options & Opt_pointerBlank)) return;