Commit 66356ec7 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

screen: draw new content immediately, to prevent color flashes

After updating the color palette, the corresponding new window content
should be drawn immediately, before some other part of the code calls
doupdate(), to prevent the old content being shown in the new colors.

This fixes https://savannah.gnu.org/bugs/?49912

.
Reported-by: default avatarMike Frysinger <vapier@gentoo.org>
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -563,7 +563,8 @@ void display_buffer(void)
precalc_multicolorinfo();
#endif
refresh_needed = TRUE;
/* Update the content of the edit window straightaway. */
edit_refresh();
}
#ifndef DISABLE_MULTIBUFFER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment