summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-28 19:36:36 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-28 19:36:36 +0000
commit4b20d4f1add40130653b9a3f2351eb44e0e0df4b (patch)
treedbf7a2038f30fba5fac49dd26989c005afa9c9e2 /src/Window.hpp
parent7beb9fd606106e82554c7050aebbc5ca23dafa79 (diff)
Added decoration reserved area
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp57
1 files changed, 29 insertions, 28 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 577b7432..bc81e60a 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -287,34 +287,35 @@ class CWindow {
}
// methods
- wlr_box getFullWindowBoundingBox();
- wlr_box getWindowIdealBoundingBoxIgnoreReserved();
- void updateWindowDecos();
- pid_t getPID();
- IHyprWindowDecoration* getDecorationByType(eDecorationType);
- void removeDecorationByType(eDecorationType);
- void createToplevelHandle();
- void destroyToplevelHandle();
- void updateToplevel();
- void updateSurfaceOutputs();
- void moveToWorkspace(int);
- CWindow* X11TransientFor();
- void onUnmap();
- void onMap();
- void setHidden(bool hidden);
- bool isHidden();
- void applyDynamicRule(const SWindowRule& r);
- void updateDynamicRules();
-
- void onBorderAngleAnimEnd(void* ptr);
- bool isInCurvedCorner(double x, double y);
- bool hasPopupAt(const Vector2D& pos);
-
- CWindow* getGroupHead();
- CWindow* getGroupTail();
- CWindow* getGroupCurrent();
- void setGroupCurrent(CWindow* pWindow);
- void insertWindowToGroup(CWindow* pWindow);
+ wlr_box getFullWindowBoundingBox();
+ wlr_box getWindowIdealBoundingBoxIgnoreReserved();
+ void updateWindowDecos();
+ pid_t getPID();
+ IHyprWindowDecoration* getDecorationByType(eDecorationType);
+ void removeDecorationByType(eDecorationType);
+ void createToplevelHandle();
+ void destroyToplevelHandle();
+ void updateToplevel();
+ void updateSurfaceOutputs();
+ void moveToWorkspace(int);
+ CWindow* X11TransientFor();
+ void onUnmap();
+ void onMap();
+ void setHidden(bool hidden);
+ bool isHidden();
+ void applyDynamicRule(const SWindowRule& r);
+ void updateDynamicRules();
+ SWindowDecorationExtents getFullWindowReservedArea();
+
+ void onBorderAngleAnimEnd(void* ptr);
+ bool isInCurvedCorner(double x, double y);
+ bool hasPopupAt(const Vector2D& pos);
+
+ CWindow* getGroupHead();
+ CWindow* getGroupTail();
+ CWindow* getGroupCurrent();
+ void setGroupCurrent(CWindow* pWindow);
+ void insertWindowToGroup(CWindow* pWindow);
private:
// For hidden windows and stuff