fix: Build issue when GLFW_WAYLAND_APP_ID isn't defined

This commit is contained in:
Nik
2024-04-21 17:04:56 +02:00
committed by GitHub
parent 6f11873d7e
commit cc7a0db35c

View File

@@ -720,7 +720,7 @@ namespace hex {
glfwWindowHint(GLFW_DECORATED, ImHexApi::System::isBorderlessWindowModeEnabled() ? GL_FALSE : GL_TRUE);
#endif
#if defined(OS_LINUX)
#if defined(OS_LINUX) && defined(GLFW_WAYLAND_APP_ID)
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex");
#endif