From: Christoffer Aasted Date: Mon, 29 Jun 2026 22:28:52 +0000 (+0000) Subject: patch 9.2.0753: GTK GUI deferred redraw skipped on 'lazyredraw' X-Git-Tag: v9.2.0753^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=278b9347f76ade76bbdcaace7e827851665dc556;p=thirdparty%2Fvim.git patch 9.2.0753: GTK GUI deferred redraw skipped on 'lazyredraw' Problem: GTK GUI deferred redraw skipped on 'lazyredraw' Solution: Drop the redrawing() condition so a redraw is flushed regardless of 'lazyredraw' (Christoffer Aasted) related: #20528 closes: #20677 Signed-off-by: Christoffer Aasted Signed-off-by: Christian Brabandt --- diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index d7ea36274f..b12f4b22c3 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -6841,8 +6841,8 @@ gui_mch_update(void) { int prio = 0; g_main_context_prepare(NULL, &prio); - // peek internal scheduling of redraw, honors 'lazyredraw' - if (prio == GDK_PRIORITY_REDRAW && redrawing()) + // peek internal scheduling of redraw + if (prio == GDK_PRIORITY_REDRAW) gui_may_flush(); // prepares redraw: g_main_context_iteration } #endif diff --git a/src/version.c b/src/version.c index 48ff1025c7..2bc636bde2 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 753, /**/ 752, /**/