aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-05 08:48:03 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-05 08:48:08 +0200
commitfb73de12aecca5d14bf73326a977c87ac6c47949 (patch)
tree8fdd8cb9c4d3c596ee11b6a9c978fe6fe4b2b1e0 /include
parent269cab0f80d49734a613ee4577f783ed870a8e1b (diff)
Add comment
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h
index 96511fc..f3b40ea 100644
--- a/include/mgl/window/window.h
+++ b/include/mgl/window/window.h
@@ -154,6 +154,7 @@ void mgl_window_set_low_latency(mgl_window *self, bool low_latency);
bool mgl_window_is_low_latency_enabled(const mgl_window *self);
void mgl_window_set_position(mgl_window *self, mgl_vec2i position);
+/* Note that window size in mgl_window doesn't update immediately as the change size request can be ignored by the window manager. A MGL_EVENT_RESIZED event will be received if the resize occurred */
void mgl_window_set_size(mgl_window *self, mgl_vec2i size);
/* if |minimum| is (0, 0) then there is no minimum limit, if |maximum| is (0, 0) then there is no maximum limit */
void mgl_window_set_size_limits(mgl_window *self, mgl_vec2i minimum, mgl_vec2i maximum);