changeset 64280:fbf7c36d9934

(cursor_row_fully_visible_p): Allow partially visible row in minibuffer windows. (try_window): Don't check margins in minibuffer windows.
author Kim F. Storm <storm@cua.dk>
date Wed, 13 Jul 2005 09:36:12 +0000
parents 6a7d77aba21b
children 6d94773592af
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jul 13 09:35:20 2005 +0000
+++ b/src/xdisp.c	Wed Jul 13 09:36:12 2005 +0000
@@ -11294,7 +11294,7 @@
   window_height = window_box_height (w);
   if (row->height >= window_height)
     {
-      if (!force_p || w->vscroll)
+      if (!force_p || MINI_WINDOW_P (w) || w->vscroll)
 	return 1;
     }
   return 0;
@@ -12729,7 +12729,8 @@
     }
 
   /* Don't let the cursor end in the scroll margins.  */
-  if (check_margins)
+  if (check_margins
+      && !MINI_WINDOW_P (w))
     {
       int this_scroll_margin, cursor_height;