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

Diff of /emacs/src/window.c

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

revision 1.383 by miles, Sun Oct 21 15:28:03 2001 UTC revision 1.384 by pj, Wed Oct 24 06:35:59 2001 UTC
# Line 48  Boston, MA 02111-1307, USA.  */ Line 48  Boston, MA 02111-1307, USA.  */
48  #include "macterm.h"  #include "macterm.h"
49  #endif  #endif
50    
 #ifndef max  
 #define max(a, b) ((a) < (b) ? (b) : (a))  
 #endif  
   
51  /* Values returned from coordinates_in_window.  */  /* Values returned from coordinates_in_window.  */
52    
53  enum window_part  enum window_part
# Line 517  coordinates_in_window (w, x, y) Line 513  coordinates_in_window (w, x, y)
513    int left_x, right_x, top_y, bottom_y;    int left_x, right_x, top_y, bottom_y;
514    int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f);    int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f);
515    enum window_part part;    enum window_part part;
516    int ux = CANON_X_UNIT (f), uy = CANON_Y_UNIT (f);    int ux = CANON_X_UNIT (f);
517    int x0 = XFASTINT (w->left) * ux;    int x0 = XFASTINT (w->left) * ux;
518    int x1 = x0 + XFASTINT (w->width) * ux;    int x1 = x0 + XFASTINT (w->width) * ux;
519    /* The width of the area where the vertical line can be dragged.    /* The width of the area where the vertical line can be dragged.

Legend:
Removed from v.1.383  
changed lines
  Added in v.1.384

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