/[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.521 by kfstorm, Tue Oct 11 15:07:07 2005 UTC revision 1.522 by kfstorm, Tue Oct 11 22:21:50 2005 UTC
# Line 742  coordinates_in_window (w, x, y) Line 742  coordinates_in_window (w, x, y)
742                ? (*x < right_x - WINDOW_RIGHT_FRINGE_WIDTH (w))                ? (*x < right_x - WINDOW_RIGHT_FRINGE_WIDTH (w))
743                : (*x >= right_x - rmargin_width)))                : (*x >= right_x - rmargin_width)))
744          {          {
745            *x -= right_x;            *x -= right_x - rmargin_width;
746            if (!WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w))            if (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w))
747              *x -= WINDOW_RIGHT_FRINGE_WIDTH (w);              *x += WINDOW_RIGHT_FRINGE_WIDTH (w);
748            *y -= top_y;            *y -= top_y;
749            return ON_RIGHT_MARGIN;            return ON_RIGHT_MARGIN;
750          }          }
# Line 756  coordinates_in_window (w, x, y) Line 756  coordinates_in_window (w, x, y)
756      }      }
757    
758    /* Everything special ruled out - must be on text area */    /* Everything special ruled out - must be on text area */
759    *x -= left_x + WINDOW_LEFT_FRINGE_WIDTH (w);    *x -= text_left;
760    *y -= top_y;    *y -= top_y;
761    return ON_TEXT;    return ON_TEXT;
762  }  }

Legend:
Removed from v.1.521  
changed lines
  Added in v.1.522

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