From 8cb04e1859588bb1fed003c369a9adb96c6c932a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 5 Aug 2024 08:48:22 +0200 Subject: Add comment --- depends/mgl | 2 +- include/mglpp/window/Window.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends/mgl b/depends/mgl index a96a61a..fb73de1 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit a96a61a4d5104f804628912830de2afd0e22280c +Subproject commit fb73de12aecca5d14bf73326a977c87ac6c47949 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