… | |
… | |
2478 | |
2478 | |
2479 | if (scrollBar.win) |
2479 | if (scrollBar.win) |
2480 | { |
2480 | { |
2481 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2481 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2482 | scrollBar.state = STATE_IDLE; |
2482 | scrollBar.state = STATE_IDLE; |
2483 | scrollbar_show (0); |
2483 | scrollBar.show (0); |
2484 | } |
2484 | } |
2485 | |
2485 | |
2486 | #endif |
2486 | #endif |
2487 | |
2487 | |
2488 | /* bgPixmap.apply () does not do the following : */ |
2488 | /* bgPixmap.apply () does not do the following : */ |
… | |
… | |
2585 | { |
2585 | { |
2586 | int row, wrote; |
2586 | int row, wrote; |
2587 | unsigned int width, towrite; |
2587 | unsigned int width, towrite; |
2588 | char r1[] = "\n"; |
2588 | char r1[] = "\n"; |
2589 | |
2589 | |
2590 | for (row = saveLines - nsaved; |
2590 | for (row = saveLines + top_row; |
2591 | row < saveLines + nrow - 1; row++) |
2591 | row < saveLines + nrow - 1; row++) |
2592 | { |
2592 | { |
2593 | width = row_buf[row].l >= 0 ? row_buf[row].l |
2593 | width = row_buf[row].l >= 0 ? row_buf[row].l |
2594 | : ncol; |
2594 | : ncol; |
2595 | for (towrite = width; towrite; towrite -= wrote) |
2595 | for (towrite = width; towrite; towrite -= wrote) |