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.279 by sasha, Tue Sep 18 22:01:36 2007 UTC vs.
Revision 1.280 by ayin, Mon Oct 15 14:56:06 2007 UTC

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 */
3670void
3671rxvt_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
3681void 3669void
3682rxvt_term::im_set_position (XPoint &pos) NOTHROW 3670rxvt_term::im_set_position (XPoint &pos) NOTHROW
3683{ 3671{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines