From a130c61289d7bc2217d61665378a390382c238b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Wed, 21 Feb 2024 15:58:36 -0500
Subject: [PATCH] Lower flush count to 3.

This is my happy place on the desktop system running xfce4... any
higher, and it interferes with how I manage my windows.

Hopefully, this value convers the initialization portion perfectly
on all systems (hah!).
---
 src/conio/x_events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index 5bb241cb20..7647816b7e 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -2323,7 +2323,7 @@ void x11_event_thread(void *args)
 						case X11_LOCAL_FLUSH:
 							x11.XFlush(dpy);
 							if (!got_first_resize) {
-								if (++flush_count > 5)
+								if (++flush_count > 3)
 									got_first_resize = true;
 							}
 							break;
-- 
GitLab