aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h
index 6b0f0e5d07c..dfbc6385312 100644
--- a/src/window.h
+++ b/src/window.h
@@ -422,6 +422,14 @@ struct window
422 Otherwise draw them between margin areas and text. */ 422 Otherwise draw them between margin areas and text. */
423 bool_bf fringes_outside_margins : 1; 423 bool_bf fringes_outside_margins : 1;
424 424
425 /* True if this window's fringe specifications are persistent,
426 i.e., always survive Fset_window_buffer. */
427 bool_bf fringes_persistent : 1;
428
429 /* True if this window's croll bar specifications are persistent,
430 i.e., always survive Fset_window_buffer. */
431 bool_bf scroll_bars_persistent : 1;
432
425 /* True if window_end_pos and window_end_vpos are truly valid. 433 /* True if window_end_pos and window_end_vpos are truly valid.
426 This is false if nontrivial redisplay is preempted since in that case 434 This is false if nontrivial redisplay is preempted since in that case
427 the frame image that window_end_pos did not get onto the frame. */ 435 the frame image that window_end_pos did not get onto the frame. */
@@ -860,7 +868,9 @@ wset_next_buffers (struct window *w, Lisp_Object val)
860 W. Horizontal scrollbars exist for toolkit versions only. */ 868 W. Horizontal scrollbars exist for toolkit versions only. */
861#if USE_HORIZONTAL_SCROLL_BARS 869#if USE_HORIZONTAL_SCROLL_BARS
862#define WINDOW_HAS_HORIZONTAL_SCROLL_BAR(W) \ 870#define WINDOW_HAS_HORIZONTAL_SCROLL_BAR(W) \
863 ((WINDOW_PSEUDO_P (W) || MINI_NON_ONLY_WINDOW_P (W)) \ 871 ((WINDOW_PSEUDO_P (W) \
872 || (MINI_WINDOW_P (W) \
873 && !EQ (W->horizontal_scroll_bar_type, Qbottom))) \
864 ? false \ 874 ? false \
865 : EQ (W->horizontal_scroll_bar_type, Qt) \ 875 : EQ (W->horizontal_scroll_bar_type, Qt) \
866 ? FRAME_HAS_HORIZONTAL_SCROLL_BARS (WINDOW_XFRAME (W)) \ 876 ? FRAME_HAS_HORIZONTAL_SCROLL_BARS (WINDOW_XFRAME (W)) \
@@ -1059,7 +1069,7 @@ extern Lisp_Object minibuf_selected_window;
1059extern Lisp_Object make_window (void); 1069extern Lisp_Object make_window (void);
1060extern Lisp_Object window_from_coordinates (struct frame *, int, int, 1070extern Lisp_Object window_from_coordinates (struct frame *, int, int,
1061 enum window_part *, bool); 1071 enum window_part *, bool);
1062extern void resize_frame_windows (struct frame *, int, bool, bool); 1072extern void resize_frame_windows (struct frame *, int, bool);
1063extern void restore_window_configuration (Lisp_Object); 1073extern void restore_window_configuration (Lisp_Object);
1064extern void delete_all_child_windows (Lisp_Object); 1074extern void delete_all_child_windows (Lisp_Object);
1065extern void grow_mini_window (struct window *, int); 1075extern void grow_mini_window (struct window *, int);