ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.27 by pcg, Tue Dec 30 01:35:58 2003 UTC vs.
Revision 1.28 by pcg, Fri Jan 16 22:11:09 2004 UTC

1/*--------------------------------*-C-*---------------------------------* 1/*--------------------------------*-C-*---------------------------------*
2 * File: command.c 2 * File: command.c
3 *----------------------------------------------------------------------* 3 *----------------------------------------------------------------------*
4 * $Id: command.C,v 1.27 2003/12/30 01:35:58 pcg Exp $ 4 * $Id: command.C,v 1.28 2004/01/16 22:11:09 pcg Exp $
5 * 5 *
6 * All portions of code are copyright by their respective author/s. 6 * All portions of code are copyright by their respective author/s.
7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk> 7 * Copyright (c) 1992 John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
8 * - original version 8 * - original version
9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com> 9 * Copyright (c) 1994 Robert Nation <nation@rocket.sanders.lockheed.com>
756 756
757#ifdef CURSOR_BLINK 757#ifdef CURSOR_BLINK
758void 758void
759rxvt_term::blink_cb (time_watcher &w) 759rxvt_term::blink_cb (time_watcher &w)
760{ 760{
761 w.at += BLINK_INTERVAL;
762 hidden_cursor = !hidden_cursor; 761 hidden_cursor = !hidden_cursor;
763 want_refresh = 1; 762 want_refresh = 1;
763
764 w.start (w.at + BLINK_INTERVAL);
764} 765}
765#endif 766#endif
766 767
767void 768void
768rxvt_term::x_cb (io_watcher &w, short revents) 769rxvt_term::x_cb (io_watcher &w, short revents)
1037 1038
1038#ifdef POINTER_BLANK 1039#ifdef POINTER_BLANK
1039void 1040void
1040rxvt_term::pointer_blank () 1041rxvt_term::pointer_blank ()
1041{ 1042{
1042 pointer_ev.stop ();
1043
1044 if (!(Options & Opt_pointerBlank)) 1043 if (!(Options & Opt_pointerBlank))
1045 return; 1044 return;
1046 1045
1047 XDefineCursor (Xdisplay, TermWin.vt, blank_cursor); 1046 XDefineCursor (Xdisplay, TermWin.vt, blank_cursor);
1048 XFlush (Xdisplay); 1047 XFlush (Xdisplay);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines