aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov2019-09-25 00:54:36 +0300
committerJuri Linkov2019-09-25 00:54:36 +0300
commit848e21b0491cb0b2f8e3a59e9f5cabd7210dca5e (patch)
tree42d647b3f82da020065b3b4ddfde85eca33f3384 /src
parent8f268bb9bfbaee9f32e7179d56958ef30d66851f (diff)
downloademacs-848e21b0491cb0b2f8e3a59e9f5cabd7210dca5e.tar.gz
emacs-848e21b0491cb0b2f8e3a59e9f5cabd7210dca5e.zip
Small fixes. Bind [tab-line mouse-1] to mouse-select-window.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 0fc387b8ffb..0e18c5adbc6 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2957,7 +2957,11 @@ init_iterator (struct it *it, struct window *w,
2957 else if (base_face_id == TAB_LINE_FACE_ID) 2957 else if (base_face_id == TAB_LINE_FACE_ID)
2958 row = MATRIX_TAB_LINE_ROW (w->desired_matrix); 2958 row = MATRIX_TAB_LINE_ROW (w->desired_matrix);
2959 else if (base_face_id == HEADER_LINE_FACE_ID) 2959 else if (base_face_id == HEADER_LINE_FACE_ID)
2960 row = MATRIX_HEADER_LINE_ROW (w->desired_matrix); 2960 {
2961 /* Header line row depends on whether tab line is enabled. */
2962 w->desired_matrix->tab_line_p = window_wants_tab_line (w);
2963 row = MATRIX_HEADER_LINE_ROW (w->desired_matrix);
2964 }
2961 } 2965 }
2962 2966
2963 /* Clear IT, and set it->object and other IT's Lisp objects to Qnil. 2967 /* Clear IT, and set it->object and other IT's Lisp objects to Qnil.