Skip to content

Commit

Permalink
client/window: only use GLFW_WAYLAND_APP_ID if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
LizzyFleckenstein03 committed Aug 25, 2024
1 parent ff4b0b6 commit 765952f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ void window_init()
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
#ifdef GLFW_WAYLAND_APP_ID
glfwWindowHintString(GLFW_WAYLAND_APP_ID, "dragonblocks_alpha");
#endif
glfwWindowHintString(GLFW_X11_CLASS_NAME, "dragonblocks_alpha");
glfwWindowHintString(GLFW_X11_INSTANCE_NAME, "dragonblocks_alpha");

Expand Down

0 comments on commit 765952f

Please sign in to comment.