From: Christoffer Aasted Date: Sun, 22 Feb 2026 19:01:12 +0000 (+0000) Subject: patch 9.2.0044: Wayland: still performance issues X-Git-Tag: v9.2.0044^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00353b29c9296bd87898397979cf83c66f4be027;p=thirdparty%2Fvim.git patch 9.2.0044: Wayland: still performance issues 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 Signed-off-by: Christian Brabandt --- diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 63adebfc97..493ba56efc 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -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) diff --git a/src/version.c b/src/version.c index bbde96b96e..60402395d2 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 44, /**/ 43, /**/