From c1ff180f4ecb8af75103a8b48728b31dde55b41f Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Tue, 4 Nov 2025 14:33:34 +0000 Subject: [PATCH] _glfwTerminateWayland calls _glfwPollEventsWayland at start - Potential fix for #2744 --- src/wl_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wl_init.c b/src/wl_init.c index ff7b2869a..c7f9bf9e4 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -894,6 +894,8 @@ int _glfwInitWayland(void) void _glfwTerminateWayland(void) { + _glfwPollEventsWayland(); + _glfwTerminateEGL(); _glfwTerminateOSMesa();