--- rxvt-unicode/src/rxvtlib.h.in 2003/12/17 09:00:35 1.6 +++ rxvt-unicode/src/rxvtlib.h.in 2004/01/19 17:26:43 1.8 @@ -1,5 +1,5 @@ /* - * $Id: rxvtlib.h.in,v 1.6 2003/12/17 09:00:35 pcg Exp $ + * $Id: rxvtlib.h.in,v 1.8 2004/01/19 17:26:43 pcg Exp $ */ #ifndef _RXVTLIB_H_ /* include once only */ @@ -281,20 +281,27 @@ short width; /* scrollbar width */ Window win; int (*update)(pR_ int, int, int, int); + + void setIdle() { state = 1 ; } + void setMotion() { state = 'm'; } + void setUp() { state = 'U'; } + void setDn() { state = 'D'; } } scrollBar_t; struct rxvt_vars { TermWin_t TermWin; scrollBar_t scrollBar; menuBar_t menuBar; - Display *Xdisplay; unsigned long Options; XSizeHints szHint; + Display *Xdisplay; + int Xdepth; + int Xscreen; + Visual *Xvisual; Colormap Xcmap; rxvt_color *PixColors; short numPixColors; Cursor TermWin_cursor; /* cursor for vt window */ - int Xdepth; int sb_shadow; /* scrollbar shadow width */ int Xfd; /* file descriptor of X server connection */ int cmd_fd; /* pty file descriptor; connected to command */