From 8cb04e1859588bb1fed003c369a9adb96c6c932a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2024 08:48:22 +0200 Subject: Add comment --- include/mglpp/window/Window.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index 42a8488..f25e63e 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -86,6 +86,7 @@ namespace mgl { void set_key_repeat_enabled(bool enabled); void set_cursor_visible(bool visible); vec2i get_size() const; + /* Note that window size in get_size doesn't update immediately as the change size request can be ignored by the window manager. A Resized event will be received if the resize occurred */ void set_size(mgl::vec2i size); void set_position(mgl::vec2i position); /* if |minimum| is (0, 0) then there is no minimum limit, if |maximum| is (0, 0) then there is no maximum limit */ -- cgit v1.2.3