summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index cff13b03..ce2f8eb2 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -2,6 +2,7 @@
#include <vector>
#include <string>
+#include <optional>
#include "../config/ConfigDataValues.hpp"
#include "../helpers/AnimatedVariable.hpp"
@@ -468,6 +469,7 @@ class CWindow {
bool isModal();
Vector2D requestedMinSize();
Vector2D requestedMaxSize();
+ void sendWindowSize(Vector2D size, bool force = false, std::optional<Vector2D> overridePos = std::nullopt);
CBox getWindowMainSurfaceBox() const {
return {m_vRealPosition->value().x, m_vRealPosition->value().y, m_vRealSize->value().x, m_vRealSize->value().y};