summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-20 20:15:41 +0100
committerVaxry <vaxry@vaxry.net>2023-10-20 20:15:57 +0100
commit7f35f33b4ca16509e127976772db6abd9abf100b (patch)
tree557326d4214617c3459d983001d969fbe6510448 /src/Window.hpp
parentbab2f6a664a67dfd0c2f442dbc0134ef7c6e07e2 (diff)
surface/wayland: conform to small surface requirements
do not stretch small surfaces, instead center them if they fit.
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index dd16fdcb..e9014471 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -203,6 +203,7 @@ class CWindow {
// for not spamming the protocols
Vector2D m_vReportedPosition;
Vector2D m_vReportedSize;
+ Vector2D m_vPendingReportedSize;
// for restoring floating statuses
Vector2D m_vLastFloatingSize;