diff options
-rw-r--r-- | include/mgl/window/window.h | 1 |
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); |