--- rxvt-unicode/src/rxvt.h 2003/11/25 15:25:17 1.4 +++ rxvt-unicode/src/rxvt.h 2003/11/25 17:11:33 1.6 @@ -1,5 +1,5 @@ /* - * $Id: rxvt.h,v 1.4 2003/11/25 15:25:17 pcg Exp $ + * $Id: rxvt.h,v 1.6 2003/11/25 17:11:33 pcg Exp $ */ #ifndef _RXVT_H_ /* include once only */ @@ -841,6 +841,8 @@ # include "menubar.h" #endif +#define BLINK_INTERVAL 0.5 + struct mbstate { unsigned char orig; uint32_t reg; @@ -1018,9 +1020,9 @@ gid_t egid; #endif /* ---------- */ - Cursor pointer_leftptr; + Cursor leftptr_cursor; #ifdef POINTER_BLANK - Cursor pointer_blank; + Cursor blank_cursor; #endif /* ---------- */ const char *ttydev; /* pty/tty name */ @@ -1116,6 +1118,16 @@ void pty_cb (io_watcher &w, short revents); io_watcher pty_ev; void x_cb (io_watcher &w, short revents); io_watcher x_ev; +#ifdef CURSOR_BLINK + void blink_cb (time_watcher &w); time_watcher blink_ev; +#endif + +#ifdef POINTER_BLANK + void pointer_cb (time_watcher &w); time_watcher pointer_ev; + void pointer_blank (); + void pointer_unblank (); +#endif + void flush (); rxvt_term (); @@ -1159,3 +1171,4 @@ #endif #endif /* _RXVT_H_ */ +