summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index bbe7dc07..b0689b61 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -30,6 +30,16 @@ enum eGroupRules {
GROUP_OVERRIDE = 1 << 6, // Override other rules
};
+enum eGetWindowProperties {
+ WINDOW_ONLY = 0,
+ RESERVED_EXTENTS = 1 << 0,
+ INPUT_EXTENTS = 1 << 1,
+ FULL_EXTENTS = 1 << 2,
+ FLOATING_ONLY = 1 << 3,
+ ALLOW_FLOATING = 1 << 4,
+ USE_PROP_TILED = 1 << 5
+};
+
class IWindowTransformer;
template <typename T>
@@ -342,7 +352,7 @@ class CWindow {
// methods
CBox getFullWindowBoundingBox();
SWindowDecorationExtents getFullWindowExtents();
- CBox getWindowInputBox();
+ CBox getWindowBoxUnified(uint64_t props);
CBox getWindowMainSurfaceBox();
CBox getWindowIdealBoundingBoxIgnoreReserved();
void addWindowDeco(std::unique_ptr<IHyprWindowDecoration> deco);