… | |
… | |
765 | { |
765 | { |
766 | line_t &l = ROW(row2); |
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 | { |
… | |
… | |
2718 | || (check_more == 3 |
2717 | || (check_more == 3 |
2719 | && ROWCOL_IS_AFTER (selection.end, pos)) |
2718 | && ROWCOL_IS_AFTER (selection.end, pos)) |
2720 | || (check_more == 4 /* screen width change */ |
2719 | || (check_more == 4 /* screen width change */ |
2721 | && (selection.beg.row != selection.end.row |
2720 | && (selection.beg.row != selection.end.row |
2722 | || selection.end.col > ncol))) |
2721 | || selection.end.col > ncol))) |
2723 | CLEAR_SELECTION (); |
2722 | CLEAR_ALL_SELECTION (); |
2724 | } |
2723 | } |
2725 | |
2724 | |
2726 | /* ------------------------------------------------------------------------- */ |
2725 | /* ------------------------------------------------------------------------- */ |
2727 | /* |
2726 | /* |
2728 | * Paste a selection direct to the command fd |
2727 | * Paste a selection direct to the command fd |