diff --git a/main/gui/source/init/splash_window.cpp b/main/gui/source/init/splash_window.cpp index b1741aef4..5b3265d18 100644 --- a/main/gui/source/init/splash_window.cpp +++ b/main/gui/source/init/splash_window.cpp @@ -415,6 +415,10 @@ namespace hex::init { glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); #endif + #if defined(OS_LINUX) + glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex"); + #endif + // Make splash screen non-resizable, undecorated and transparent glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index 0bb278405..b0cebbe5d 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -720,6 +720,10 @@ namespace hex { glfwWindowHint(GLFW_DECORATED, ImHexApi::System::isBorderlessWindowModeEnabled() ? GL_FALSE : GL_TRUE); #endif + #if defined(OS_LINUX) + glfwWindowHintString(GLFW_WAYLAND_APP_ID, "imhex"); + #endif + glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, GLFW_TRUE); glfwWindowHint(GLFW_VISIBLE, GLFW_FALSE);