]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0044: Wayland: still performance issues v9.2.0044
authorChristoffer Aasted <dezzadk@gmail.com>
Sun, 22 Feb 2026 19:01:12 +0000 (19:01 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 22 Feb 2026 19:04:35 +0000 (19:04 +0000)
Problem:  Wayland: still performance issues
          (lilydjwg, after v9.2.0010)
Solution: Revert another part of Patch v9.2.0010
          (Christoffer Aasted)

Revert "perf(gtk-wayland): avoid early redraws; compositor does redraw"

fixes:  #19471
fixes:  #19481
closes: #19482

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 63adebfc97484fcb4345605af5a41e7f88150384..493ba56efc79d2904f0ba37509aa90fa711df858 100644 (file)
@@ -6624,11 +6624,6 @@ gui_mch_draw_part_cursor(int w, int h, guicolor_T color)
     void
 gui_mch_update(void)
 {
-#ifdef GDK_WINDOWING_WAYLAND
-    // avoid early redraws; compositor does redraw
-    if (gui.is_wayland)
-       return;
-#endif
     int cnt = 0;       // prevent endless loop
     while (g_main_context_pending(NULL) && !vim_is_input_buf_full()
                                                                && ++cnt < 100)
index bbde96b96ea762c619f82ef918892e42546492d2..60402395d29ae4fde328861db0ae6d6dd2a27c8b 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    44,
 /**/
     43,
 /**/