]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0753: GTK GUI deferred redraw skipped on 'lazyredraw' v9.2.0753
authorChristoffer Aasted <dezzadk@gmail.com>
Mon, 29 Jun 2026 22:28:52 +0000 (22:28 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 29 Jun 2026 22:28:52 +0000 (22:28 +0000)
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 <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/gui_gtk_x11.c
src/version.c

index d7ea36274f89bd61e62b9c000a3a24654554eb8f..b12f4b22c36a70a361c0047bda4a02b6c9b70f4b 100644 (file)
@@ -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
index 48ff1025c73b4d0257f70419fae1d00a80513e60..2bc636bde2a79ab487816f8d46d8caff90ec54e0 100644 (file)
@@ -759,6 +759,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    753,
 /**/
     752,
 /**/