/[emacs]/emacs/src/xfns.c
ViewVC logotype

Diff of /emacs/src/xfns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.533 by pj, Tue Dec 18 06:26:27 2001 UTC revision 1.534 by rms, Fri Dec 21 22:55:36 2001 UTC
# Line 11126  compute_tip_xy (f, parms, dx, dy, width, Line 11126  compute_tip_xy (f, parms, dx, dy, width,
11126    
11127    if (INTEGERP (left))    if (INTEGERP (left))
11128      *root_x = XINT (left);      *root_x = XINT (left);
11129    else if (*root_x + XINT (dx) + width > FRAME_X_DISPLAY_INFO (f)->width)    else if (*root_x + XINT (dx) + width <= FRAME_X_DISPLAY_INFO (f)->width)
11130        /* It fits to the right of the pointer.  */
11131        *root_x += XINT (dx);
11132      else if (width + XINT (dx) <= *root_x)
11133        /* It fits to the left of the pointer.  */
11134      *root_x -= width + XINT (dx);      *root_x -= width + XINT (dx);
11135    else    else
11136      *root_x += XINT (dx);      /* Put it left-justified on the screen--it ought to fit that way.  */
11137        *root_x = 0;
11138  }  }
11139    
11140    

Legend:
Removed from v.1.533  
changed lines
  Added in v.1.534

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26