Commit: patch 9.2.0044: Wayland: still performance issues

4 views
Skip to first unread message

Christian Brabandt

unread,
2:16 PM (8 hours ago) 2:16 PM
to vim...@googlegroups.com
patch 9.2.0044: Wayland: still performance issues

Commit: https://github.com/vim/vim/commit/00353b29c9296bd87898397979cf83c66f4be027
Author: Christoffer Aasted <dez...@gmail.com>
Date: Sun Feb 22 19:01:12 2026 +0000

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 <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 63adebfc9..493ba56ef 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 bbde96b96..60402395d 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,
/**/
Reply all
Reply to author
Forward
0 new messages