From 5de349f41e5802338fe79bc8b9dcbb4860b3f11b Mon Sep 17 00:00:00 2001 From: Valerio Formato Date: Sat, 29 Oct 2022 17:02:27 +0200 Subject: [PATCH] Fix missing function pointer to setWindowTitleBar for X11 platform The extra field `setWindowTitleBar` was wrongly initialized for the X11 platform in x11_init.c. This led to crashes during window initialization, and also in test applications such as glfwinfo. (It is possible that it is still missing also for other platforms) --- src/x11_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/x11_init.c b/src/x11_init.c index acfa793388..bd038090b1 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -1204,6 +1204,7 @@ GLFWbool _glfwConnectX11(int platformID, _GLFWplatform* platform) _glfwWaitEventsX11, _glfwWaitEventsTimeoutX11, _glfwPostEmptyEventX11, + _glfwPlatformSetWindowTitlebar, _glfwGetEGLPlatformX11, _glfwGetEGLNativeDisplayX11, _glfwGetEGLNativeWindowX11,