WISH: look into XAddConnectionWatch, does anybody need that?
DUMB: support tex fonts
-TODO: with -ip, the scorllbar doesn't refresh after resizing.
-
8.9 Mon Dec 24 07:51:40 CET 2007
- fix the issue where urxvtd would not immediately close a window
when the command exited but only on the next X event.
int ret = 0;
#ifdef HAVE_SCROLLBARS
int top, bot, len, adj;
- int scrollbar_len = 0;
if (!scrollBar.state)
return 0;
adj = (((bot - top) * scrollbar_size ()) % len) > 0 ? 1 : 0;
scrollBar.top = (scrollBar.beg + (top * scrollbar_size ()) / len);
- scrollbar_len = ((bot - top) * scrollbar_size ()) / len +
+ scrollBar.len = ((bot - top) * scrollbar_size ()) / len +
scrollbar_minheight () + adj;
- scrollBar.bot = (scrollBar.top + scrollbar_len);
+ scrollBar.bot = (scrollBar.top + ScrollBar.len);
/* no change */
if (scrollBar.top == scrollBar.last_top
&& scrollBar.bot == scrollBar.last_bot
return 0;
}
- ret = (this->*scrollBar.update) (update, scrollBar.last_top, scrollBar.last_bot, scrollbar_len);
+ ret = (this->*scrollBar.update) (update, scrollBar.last_top, scrollBar.last_bot, scrollBar.len);
scrollBar.last_top = scrollBar.top;
scrollBar.last_bot = scrollBar.bot;
int last_bot; /* scrollbar last bottom position */
int last_top; /* scrollbar last top position */
int last_state; /* scrollbar last state */
+ int len;
unsigned char align;
Window win;
int (rxvt_term::*update)(int, int, int, int);