From 70728a80cb7f0cf5ce5259f5e655113e4973fd07 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 15 Mar 1993 05:50:55 +0000 Subject: (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES. --- src/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index ab81e806ab..0f00ae64ef 100644 --- a/src/window.c +++ b/src/window.c @@ -1283,11 +1283,11 @@ Only the frame WINDOW is on is affected.") w = XWINDOW (window); top = XFASTINT (w->top); - window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME(w)); + window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME (w)); Fset_buffer (w->buffer); SET_PT (marker_position (w->start)); - Frecenter (make_number (top)); + Frecenter (make_number (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))); set_buffer_internal (obuf); SET_PT (opoint); -- cgit v1.2.3