… | |
… | |
2484 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2484 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2485 | scrollBar.setIdle (); |
2485 | scrollBar.setIdle (); |
2486 | scrollbar_show (0); |
2486 | scrollbar_show (0); |
2487 | } |
2487 | } |
2488 | # endif |
2488 | # endif |
2489 | #endif |
|
|
2490 | |
|
|
2491 | scr_clear (); |
2489 | scr_clear (); |
2492 | scr_touch (true); |
2490 | scr_touch (true); |
2493 | want_refresh = 1; |
2491 | want_refresh = 1; |
|
|
2492 | #endif |
|
|
2493 | |
2494 | } |
2494 | } |
2495 | |
2495 | |
2496 | /* ------------------------------------------------------------------------- */ |
2496 | /* ------------------------------------------------------------------------- */ |
2497 | void |
2497 | void |
2498 | rxvt_term::scr_clear (bool really) NOTHROW |
2498 | rxvt_term::scr_clear (bool really) NOTHROW |
… | |
… | |
3662 | |
3662 | |
3663 | /* ------------------------------------------------------------------------- * |
3663 | /* ------------------------------------------------------------------------- * |
3664 | * MOUSE ROUTINES * |
3664 | * MOUSE ROUTINES * |
3665 | * ------------------------------------------------------------------------- */ |
3665 | * ------------------------------------------------------------------------- */ |
3666 | |
3666 | |
3667 | /* |
|
|
3668 | * return col/row values corresponding to x/y pixel values |
|
|
3669 | */ |
|
|
3670 | void |
|
|
3671 | rxvt_term::pixel_position (int *x, int *y) NOTHROW |
|
|
3672 | { |
|
|
3673 | *x = Pixel2Col (*x); |
|
|
3674 | /* max_it (*x, 0); min_it (*x, (int)ncol - 1); */ |
|
|
3675 | *y = Pixel2Row (*y); |
|
|
3676 | /* max_it (*y, 0); min_it (*y, (int)nrow - 1); */ |
|
|
3677 | } |
|
|
3678 | |
|
|
3679 | /* ------------------------------------------------------------------------- */ |
3667 | /* ------------------------------------------------------------------------- */ |
3680 | #ifdef USE_XIM |
3668 | #ifdef USE_XIM |
3681 | void |
3669 | void |
3682 | rxvt_term::im_set_position (XPoint &pos) NOTHROW |
3670 | rxvt_term::im_set_position (XPoint &pos) NOTHROW |
3683 | { |
3671 | { |