diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index 5bb241cb20fbe4af81df32c2bf0684329ade87d1..7647816b7ee3e1e293e0144d0ee721bf7ab7c7ed 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;