Re-add a call to clear_under_internal_border in clear_garbaged_frames

* src/xdisp.c (clear_garbaged_frames): Re-add the call to
clear_under_internal_border, reverting that part of commit
a6a3b32208 as not essential to the fix (bug#80662).
This commit is contained in:
Dmitry Gutov 2026-05-04 05:21:34 +03:00
parent 9be140466a
commit 9ff0768804

View file

@ -13661,6 +13661,11 @@ clear_garbaged_frames (void)
if (is_tty_frame (f))
current_matrices_cleared = true;
#ifdef HAVE_WINDOW_SYSTEM
if (FRAME_WINDOW_P (f)
&& FRAME_RIF (f)->clear_under_internal_border)
FRAME_RIF (f)->clear_under_internal_border (f);
#endif
fset_redisplay (f);
f->garbaged = false;
f->resized_p = false;