aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/window.c b/src/window.c
index 6bef8fe928b..5f1af561632 100644
--- a/src/window.c
+++ b/src/window.c
@@ -480,8 +480,8 @@ coordinates_in_window (w, x, y)
480 && *y >= bottom_y - CURRENT_MODE_LINE_HEIGHT (w)) 480 && *y >= bottom_y - CURRENT_MODE_LINE_HEIGHT (w))
481 /* On the mode line. */ 481 /* On the mode line. */
482 return 2; 482 return 2;
483 else if (WINDOW_WANTS_TOP_LINE_P (w) 483 else if (WINDOW_WANTS_HEADER_LINE_P (w)
484 && *y < top_y + CURRENT_TOP_LINE_HEIGHT (w)) 484 && *y < top_y + CURRENT_HEADER_LINE_HEIGHT (w))
485 /* On the top line. */ 485 /* On the top line. */
486 return 4; 486 return 4;
487 else if (*x < left_x || *x >= right_x) 487 else if (*x < left_x || *x >= right_x)
@@ -519,7 +519,7 @@ frame.\n\
519If COORDINATES are in the text portion of WINDOW,\n\ 519If COORDINATES are in the text portion of WINDOW,\n\
520 the coordinates relative to the window are returned.\n\ 520 the coordinates relative to the window are returned.\n\
521If they are in the mode line of WINDOW, `mode-line' is returned.\n\ 521If they are in the mode line of WINDOW, `mode-line' is returned.\n\
522If they are in the top mode line of WINDOW, `top-line' is returned.\n\ 522If they are in the top mode line of WINDOW, `header-line' is returned.\n\
523If they are in the bitmap-area to the left of the window,\n\ 523If they are in the bitmap-area to the left of the window,\n\
524 `left-bitmap-area' is returned, if they are in the area on the right of\n\ 524 `left-bitmap-area' is returned, if they are in the area on the right of\n\
525 the window, `right-bitmap-area' is returned.\n\ 525 the window, `right-bitmap-area' is returned.\n\
@@ -563,7 +563,7 @@ If they are on the border between WINDOW and its right sibling,\n\
563 return Qvertical_line; 563 return Qvertical_line;
564 564
565 case 4: 565 case 4:
566 return Qtop_line; 566 return Qheader_line;
567 567
568 case 5: 568 case 5:
569 return Qleft_bitmap_area; 569 return Qleft_bitmap_area;
@@ -2089,7 +2089,7 @@ window_min_size_1 (w, width_p)
2089 { 2089 {
2090 if (MINI_WINDOW_P (w) 2090 if (MINI_WINDOW_P (w)
2091 || (!WINDOW_WANTS_MODELINE_P (w) 2091 || (!WINDOW_WANTS_MODELINE_P (w)
2092 && !WINDOW_WANTS_TOP_LINE_P (w))) 2092 && !WINDOW_WANTS_HEADER_LINE_P (w)))
2093 size = 1; 2093 size = 1;
2094 else 2094 else
2095 size = window_min_height; 2095 size = window_min_height;