From fb73de12aecca5d14bf73326a977c87ac6c47949 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2024 08:48:03 +0200 Subject: Add comment --- include/mgl/window/window.h | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3