From 7a73c3fc72f0c7e029afce7b7d28e4f0ecaebd05 Mon Sep 17 00:00:00 2001 From: Nathan Date: Mon, 2 Feb 2026 15:19:08 -0600 Subject: [PATCH] try platform check for glfw --- include/utils/Window/WindowGLFW/WindowGLFW.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/utils/Window/WindowGLFW/WindowGLFW.h b/include/utils/Window/WindowGLFW/WindowGLFW.h index 5ba48c9..2327ce2 100644 --- a/include/utils/Window/WindowGLFW/WindowGLFW.h +++ b/include/utils/Window/WindowGLFW/WindowGLFW.h @@ -20,6 +20,10 @@ namespace Archimedes { WindowGLFW(Window* p, const std::function& sendEvent) { + if(glfwPlatformSupported(GLFW_PLATFORM_WAYLAND)) + glfwInitHint(GLFW_PLATFORM, GLFW_PLATFORM_WAYLAND); + + data.window = p; data.sendEvent = sendEvent;