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

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.390 by sf-exg, Fri Jul 8 20:54:31 2011 UTC vs.
Revision 1.394 by sf-exg, Thu Sep 1 08:11:27 2011 UTC

644 644
645 top_row = max (top_row - count, -saveLines); 645 top_row = max (top_row - count, -saveLines);
646 646
647 // sever bottommost line 647 // sever bottommost line
648 { 648 {
649 line_t &l = ROW(row2 - 1); 649 line_t &l = ROW(row2);
650 l.is_longer (0); 650 l.is_longer (0);
651 l.touch (); 651 l.touch ();
652 } 652 }
653 653
654 // scroll everything up 'count' lines 654 // scroll everything up 'count' lines
761 for (int row = 0; row < rows; row++) 761 for (int row = 0; row < rows; row++)
762 ROW(row1 + row) = temp_buf [row]; 762 ROW(row1 + row) = temp_buf [row];
763 763
764 // sever bottommost line 764 // sever bottommost line
765 { 765 {
766 line_t &l = ROW(row2 - 1); 766 line_t &l = ROW(row2);
767 l.is_longer (0); 767 l.is_longer (0);
768 l.touch (); 768 l.touch ();
769 } 769 }
770
771 } 770 }
772 771
773 return count; 772 return count;
774} 773}
775 774
2564 { 2563 {
2565 if (transparent) 2564 if (transparent)
2566 XSetWindowBackgroundPixmap (dpy, scrollBar.win, ParentRelative); 2565 XSetWindowBackgroundPixmap (dpy, scrollBar.win, ParentRelative);
2567 else 2566 else
2568 XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); 2567 XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]);
2569 scrollBar.state = STATE_IDLE; 2568 scrollBar.state = SB_STATE_IDLE;
2570 scrollBar.show (0); 2569 scrollBar.show (0);
2571 } 2570 }
2572 2571
2573 if (refresh) 2572 if (refresh)
2574 { 2573 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines