Revert "Remove an unused parameter"

This reverts commit 627cbf05b5.
This commit is contained in:
Gerd Möllmann 2024-11-16 13:51:50 +01:00
parent 627cbf05b5
commit e5a2bc740d
3 changed files with 4 additions and 4 deletions

View file

@ -3922,7 +3922,7 @@ Lisp_Object frames_in_reverse_z_order (struct frame *f, bool visible);
bool is_tty_frame (struct frame *f);
bool is_tty_child_frame (struct frame *f);
bool is_tty_root_frame (struct frame *f);
void combine_updates (Lisp_Object root_frames);
void combine_updates (Lisp_Object root_frames, bool inhibit_id_p);
void combine_updates_for_frame (struct frame *f, bool inhibit_id_p);
void tty_raise_lower_frame (struct frame *f, bool raise);
int max_child_z_order (struct frame *parent);

View file

@ -3987,12 +3987,12 @@ combine_updates_for_frame (struct frame *f, bool inhibit_scrolling)
redisplay_internal as the last step of redisplaying. */
void
combine_updates (Lisp_Object roots)
combine_updates (Lisp_Object roots, bool inhibit_scrolling)
{
for (; CONSP (roots); roots = XCDR (roots))
{
struct frame *root = XFRAME (XCAR (roots));
combine_updates_for_frame (root, false);
combine_updates_for_frame (root, inhibit_scrolling);
}
}

View file

@ -17588,7 +17588,7 @@ redisplay_internal (void)
}
if (CONSP (tty_root_frames))
combine_updates (tty_root_frames);
combine_updates (tty_root_frames, false);
eassert (EQ (XFRAME (selected_frame)->selected_window, selected_window));