Skip to content

Commit 06ec49c

Browse files
authored
Fix WM_CLASS not being set correctly
1 parent 96e1ec5 commit 06ec49c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Framework/Renderer/Window/Window.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ void UImGui::WindowInternal::createWindow() noexcept
152152

153153
#ifdef GLFW_PLATFORM_X11
154154
glfwWindowHintString(GLFW_X11_CLASS_NAME, Instance::get()->applicationName.c_str());
155+
glfwWindowHintString(GLFW_X11_INSTANCE_NAME, Instance::get()->applicationName.c_str());
155156
#endif
156157
#ifdef GLFW_PLATFORM_WAYLAND
157158
glfwWindowHintString(GLFW_WAYLAND_APP_ID, Instance::get()->applicationName.c_str());
@@ -318,4 +319,4 @@ void UImGui::WindowInternal::setIcon(const String name) const noexcept
318319
glfwSetWindowIcon(windowMain, 1, images);
319320
stbi_image_free(images[0].pixels);
320321
#endif
321-
}
322+
}

0 commit comments

Comments
 (0)