aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorJoakim Verona2013-08-13 17:41:40 +0200
committerJoakim Verona2013-08-13 17:41:40 +0200
commitcc446d1a2479b155892fc03f58ff433e46a680fa (patch)
tree15e987b4693fe709eb5ea562ee8c6ee0e10a324a /src/window.h
parent7cb2f8b52926d37347e5a412abd7a004707258a6 (diff)
parentf10490f024a5b06d593ae4c03f6371422e2b5a56 (diff)
downloademacs-cc446d1a2479b155892fc03f58ff433e46a680fa.tar.gz
emacs-cc446d1a2479b155892fc03f58ff433e46a680fa.zip
merge from trunk
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/window.h b/src/window.h
index a9afbc7f4a3..9d41a14cd23 100644
--- a/src/window.h
+++ b/src/window.h
@@ -828,13 +828,25 @@ wset_next_buffers (struct window *w, Lisp_Object val)
828#define WINDOW_TEXT_TO_FRAME_PIXEL_X(W, X) \ 828#define WINDOW_TEXT_TO_FRAME_PIXEL_X(W, X) \
829 (window_box_left ((W), TEXT_AREA) + (X)) 829 (window_box_left ((W), TEXT_AREA) + (X))
830 830
831/* This is the window in which the terminal's cursor should 831/* Nonzero if the background of the window W's fringe that is adjacent to
832 be left when nothing is being done with it. This must 832 a scroll bar is extended to the gap between the fringe and the bar. */
833 always be a leaf window, and its buffer is selected by 833
834 the top level editing loop at the end of each command. 834#define WINDOW_FRINGE_EXTENDED_P(w) \
835 835 (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT (w) \
836 This value is always the same as 836 ? (WINDOW_LEFTMOST_P (w) \
837 FRAME_SELECTED_WINDOW (selected_frame). */ 837 && WINDOW_LEFT_FRINGE_WIDTH (w) \
838 && (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w) \
839 || WINDOW_LEFT_MARGIN_COLS (w) == 0)) \
840 : (WINDOW_RIGHTMOST_P (w) \
841 && WINDOW_RIGHT_FRINGE_WIDTH (w) \
842 && (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w) \
843 || WINDOW_RIGHT_MARGIN_COLS (w) == 0)))
844
845/* This is the window in which the terminal's cursor should be left when
846 nothing is being done with it. This must always be a leaf window, and its
847 buffer is selected by the top level editing loop at the end of each command.
848
849 This value is always the same as FRAME_SELECTED_WINDOW (selected_frame). */
838 850
839extern Lisp_Object selected_window; 851extern Lisp_Object selected_window;
840 852