summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-02 20:04:32 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-04-02 20:04:32 +0200
commit3f99dad7f563593d298bcd548002e5b53a886825 (patch)
tree4bdd69de02aff2b8a8352ff8abbb6b38d5d91c8c /src/Window.hpp
parent7add082217b1e86f36bb152aec658eb5977622fa (diff)
Added pseudotiling
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index eacf69bf..f59e037a 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -24,8 +24,6 @@ public:
wlr_xwayland_surface* xwayland;
} m_uSurface;
- // TODO: XWayland
-
// this is the position and size of the "bounding box"
Vector2D m_vPosition = Vector2D(0,0);
Vector2D m_vSize = Vector2D(0,0);
@@ -38,6 +36,10 @@ public:
Vector2D m_vRealPosition = Vector2D(0,0);
Vector2D m_vRealSize = Vector2D(0,0);
+ // this is used for pseudotiling
+ bool m_bIsPseudotiled = false;
+ Vector2D m_vPseudoSize = Vector2D(0,0);
+
uint64_t m_iTags = 0;
bool m_bIsFloating = false;
bool m_bIsFullscreen = false;