Commit: patch 9.2.0753: GTK GUI deferred redraw skipped on 'lazyredraw'

0 views
Skip to first unread message

Christian Brabandt

unread,
2:15 PM (6 hours ago) 2:15 PM
to vim...@googlegroups.com
patch 9.2.0753: GTK GUI deferred redraw skipped on 'lazyredraw'

Commit: https://github.com/vim/vim/commit/278b9347f76ade76bbdcaace7e827851665dc556
Author: Christoffer Aasted <dez...@gmail.com>
Date: Mon Jun 29 22:28:52 2026 +0000

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 <dez...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index d7ea36274..b12f4b22c 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 48ff1025c..2bc636bde 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,
/**/
Reply all
Reply to author
Forward
0 new messages