XFASTINT (w->last_point_y) = FRAME_CURSOR_Y (selected_frame);
if (all_windows)
- mark_window_display_accurate (XWINDOW (minibuf_window)->prev, 1);
+ mark_window_display_accurate (FRAME_ROOT_WINDOW (selected_frame), 1);
else
{
w->update_mode_line = Qnil;
if (FRAME_X_P (f)
&& ! FRAME_MINIBUF_ONLY_P (f)
&& w == XWINDOW (f->selected_window))
- x_set_name (f, ((XINT (Flength (Vframe_list)) > 1)
- ? XBUFFER (w->buffer)->name
- : Qnil),
- Qnil);
+ x_implicitly_set_name (f, ((XINT (Flength (Vframe_list)) > 1)
+ ? XBUFFER (w->buffer)->name
+ : Qnil),
+ Qnil);
#endif
}
/* Return a string for the output of a mode line %-spec for window W,
generated by character C and width MAXWIDTH. */
+static char lots_of_dashes[] = "--------------------------------------------------------------------------------------------------------------------------------------------";
+
static char *
decode_mode_spec (w, c, maxwidth)
struct window *w;
case '-':
{
- static char lots_of_dashes[] = "--------------------------------------------------------------------------------------------------------------------------------------------";
register char *p;
register int i;
\f
/* Display STRING on one line of window W, starting at HPOS.
Display at position VPOS. Caller should have done get_display_line.
+ If VPOS == -1, display it as the current frame's title.
TRUNCATE is GLYPH to display at end if truncated. Zero for none.
this_line_bufpos = 0;
mini_w = XWINDOW (minibuf_window);
- root_window = mini_w->prev;
+ root_window = FRAME_ROOT_WINDOW (XFRAME (WINDOW_FRAME (mini_w)));
echo_area_glyphs = 0;
previous_echo_glyphs = 0;