diff options
Diffstat (limited to 'src/window.h')
| -rw-r--r-- | src/window.h | 26 |
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 | ||
| 839 | extern Lisp_Object selected_window; | 851 | extern Lisp_Object selected_window; |
| 840 | 852 | ||