[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/window.c
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/src/window.c |
Date: |
Sun, 25 Jul 2004 13:56:25 -0400 |
Index: emacs/src/window.c
diff -c emacs/src/window.c:1.474 emacs/src/window.c:1.475
*** emacs/src/window.c:1.474 Sun Jul 25 17:35:49 2004
--- emacs/src/window.c Sun Jul 25 17:43:57 2004
***************
*** 579,584 ****
--- 579,586 ----
if it is on the window's modeline, return ON_MODE_LINE;
if it is on the border between the window and its right sibling,
return ON_VERTICAL_BORDER.
+ if it is on a scroll bar,
+ return ON_SCROLL_BAR.
if it is on the window's top line, return ON_HEADER_LINE;
if it is in left or right fringe of the window,
return ON_LEFT_FRINGE or ON_RIGHT_FRINGE, and convert *X and *Y
***************
*** 673,679 ****
/* Outside any interesting column? */
if (*x < left_x || *x > right_x)
! return ON_VERTICAL_BORDER;
lmargin_width = window_box_width (w, LEFT_MARGIN_AREA);
rmargin_width = window_box_width (w, RIGHT_MARGIN_AREA);
--- 675,681 ----
/* Outside any interesting column? */
if (*x < left_x || *x > right_x)
! return ON_SCROLL_BAR;
lmargin_width = window_box_width (w, LEFT_MARGIN_AREA);
rmargin_width = window_box_width (w, RIGHT_MARGIN_AREA);
***************
*** 818,823 ****
--- 820,829 ----
case ON_RIGHT_MARGIN:
return Qright_margin;
+ case ON_SCROLL_BAR:
+ /* Historically we are supposed to return nil in this case. */
+ return Qnil;
+
default:
abort ();
}
- [Emacs-diffs] Changes to emacs/src/window.c, Luc Teirlinck, 2004/07/10
- [Emacs-diffs] Changes to emacs/src/window.c, Richard M . Stallman, 2004/07/17
- [Emacs-diffs] Changes to emacs/src/window.c, Luc Teirlinck, 2004/07/19
- [Emacs-diffs] Changes to emacs/src/window.c, Kim F . Storm, 2004/07/21
- [Emacs-diffs] Changes to emacs/src/window.c, Richard M . Stallman, 2004/07/24
- [Emacs-diffs] Changes to emacs/src/window.c, Richard M . Stallman, 2004/07/25
- [Emacs-diffs] Changes to emacs/src/window.c,
Richard M . Stallman <=