aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-20 01:11:12 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-20 01:11:12 +0200
commit06957aa0f264bc181c01f5618f3b3c8d4db38ddb (patch)
treef76a8580213fca0b36a0349fbc6081b37e49cda5 /include
parent5500ce377a0a552bfa858232f7086c197d0ab458 (diff)
wip: wayland
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index 100a73e..3a190f5 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -124,7 +124,7 @@ typedef struct {
bool support_alpha; /* support alpha for the window, false by default */
bool hide_decorations; /* this is a hint, it may be ignored by the window manager, false by default */
mgl_color background_color; /* default: black */
- const char *class_name;
+ const char *class_name; /* Class name on X11, App ID on Wayland */
mgl_window_type window_type; /* default: normal */
mgl_window_handle transient_for_window; /* 0 = none */
mgl_graphics_api graphics_api; /* Can only be MGL_GRAPHICS_API_GLX in an X11 window. default: MGL_GRAPHICS_API_EGL */