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;