/[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.390 by eliz, Sun Nov 25 18:21:09 2001 UTC revision 1.391 by kfstorm, Sat Dec 1 01:15:43 2001 UTC
# Line 511  coordinates_in_window (w, x, y) Line 511  coordinates_in_window (w, x, y)
511       everywhere.  */       everywhere.  */
512    struct frame *f = XFRAME (WINDOW_FRAME (w));    struct frame *f = XFRAME (WINDOW_FRAME (w));
513    int left_x, right_x, top_y, bottom_y;    int left_x, right_x, top_y, bottom_y;
   int fringe_width = FRAME_LEFT_FRINGE_WIDTH (f);  
514    enum window_part part;    enum window_part part;
515    int ux = CANON_X_UNIT (f);    int ux = CANON_X_UNIT (f);
516    int x0 = XFASTINT (w->left) * ux;    int x0 = XFASTINT (w->left) * ux;
# Line 584  coordinates_in_window (w, x, y) Line 583  coordinates_in_window (w, x, y)
583    else if (*y < top_y    else if (*y < top_y
584             || *y >= bottom_y             || *y >= bottom_y
585             || *x < (left_x             || *x < (left_x
586                      - fringe_width                      - FRAME_LEFT_FRINGE_WIDTH (f)
587                      - FRAME_LEFT_SCROLL_BAR_WIDTH (f) * ux)                      - FRAME_LEFT_SCROLL_BAR_WIDTH (f) * ux)
588             || *x > (right_x             || *x > (right_x
589                      + fringe_width                      + FRAME_RIGHT_FRINGE_WIDTH (f)
590                      + FRAME_RIGHT_SCROLL_BAR_WIDTH (f) * ux))                      + FRAME_RIGHT_SCROLL_BAR_WIDTH (f) * ux))
591      {      {
592        part = ON_NOTHING;        part = ON_NOTHING;
# Line 597  coordinates_in_window (w, x, y) Line 596  coordinates_in_window (w, x, y)
596        if (!w->pseudo_window_p        if (!w->pseudo_window_p
597            && !FRAME_HAS_VERTICAL_SCROLL_BARS (f)            && !FRAME_HAS_VERTICAL_SCROLL_BARS (f)
598            && !WINDOW_RIGHTMOST_P (w)            && !WINDOW_RIGHTMOST_P (w)
599            && (abs (*x - right_x - fringe_width) < grabbable_width))            && (abs (*x - right_x - FRAME_RIGHT_FRINGE_WIDTH (f)) < grabbable_width))
600          {          {
601            part = ON_VERTICAL_BORDER;            part = ON_VERTICAL_BORDER;
602          }          }

Legend:
Removed from v.1.390  
changed lines
  Added in v.1.391

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