summaryrefslogtreecommitdiff
path: root/src/window_glfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_glfw.c')
-rw-r--r--src/window_glfw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window_glfw.c b/src/window_glfw.c
index f94c9c2..0f55bc3 100644
--- a/src/window_glfw.c
+++ b/src/window_glfw.c
@@ -189,16 +189,16 @@ static void close_callback(GLFWwindow *window)
stl_window_send_should_close_event(&glfw->w);
}
-static bool window_glfw_create_window(struct stl_window *window, u32 width, u32 height,
- const char *monitor, const char *name, u32 flags)
+static bool window_glfw_create_window(struct stl_window *window, u32 width, u32 height, u32 flags,
+ const char *monitor, const char *name, const char *app_id)
{
struct stl_window_glfw *glfw = (struct stl_window_glfw *)window;
(void)monitor;
#if GLFW_VERSION_MAJOR > 3 || (GLFW_VERSION_MAJOR == 3 && GLFW_VERSION_MINOR >= 4)
- glfwWindowHintString(GLFW_WAYLAND_APP_ID, name);
+ glfwWindowHintString(GLFW_WAYLAND_APP_ID, app_id);
#endif
- glfwWindowHintString(GLFW_X11_CLASS_NAME, name);
+ glfwWindowHintString(GLFW_X11_CLASS_NAME, app_id);
#if defined STELA_API_VULKAN
if (!glfwVulkanSupported()) {