patch 9.2.0044: Wayland: still performance issues
Commit:
https://github.com/vim/vim/commit/00353b29c9296bd87898397979cf83c66f4be027
Author: Christoffer Aasted <[email protected]>
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
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,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vuEv1-007pKn-7R%40256bit.org.