--- rxvt-unicode/src/scrollbar.h 2007/12/29 14:52:55 1.5 +++ rxvt-unicode/src/scrollbar.h 2007/12/31 13:50:56 1.8 @@ -15,6 +15,10 @@ unsigned int style; /* style: rxvt, xterm, next */ unsigned int width; /* scrollbar width */ int shadow; /* scrollbar shadow width */ + int last_bot; /* scrollbar last bottom position */ + int last_top; /* scrollbar last top position */ + int last_state; /* scrollbar last state */ + unsigned char align; Window win; int (rxvt_term::*update)(int, int, int, int); @@ -29,7 +33,6 @@ #define scrollbar_isUp() (scrollBar.state == 'U') #define scrollbar_isDn() (scrollBar.state == 'D') #define scrollbar_isUpDn() (scrollbar_isUp () || scrollbar_isDn ()) -#define isScrollbarWindow(w) (scrollBar.state && (w) == scrollBar.win) #define scrollbarnext_dnval() (scrollBar.end + (scrollBar.width + 1)) #define scrollbarnext_upButton(y) ((y) > scrollBar.end \