summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2023-11-04 17:03:05 +0000
committerGitHub <noreply@github.com>2023-11-04 17:03:05 +0000
commit55b4f84fea33adee3ec4b0a69c2bca6e7a1f5754 (patch)
treebe7db4f841b4ac049527daae01e683701bf92b92 /src/Window.hpp
parent73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (diff)
Internal: Hyprland box implementation (#3755)
* box impl * remove unused operators * missed applyfromwlr
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index 624d3325..dbfa2e04 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -11,14 +11,16 @@
#include "macros.hpp"
#include "managers/XWaylandManager.hpp"
-enum eIdleInhibitMode {
+enum eIdleInhibitMode
+{
IDLEINHIBIT_NONE = 0,
IDLEINHIBIT_ALWAYS,
IDLEINHIBIT_FULLSCREEN,
IDLEINHIBIT_FOCUS
};
-enum eGroupRules {
+enum eGroupRules
+{
// effective only during first map, except for _ALWAYS variant
GROUP_NONE = 0,
GROUP_SET = 1 << 0, // Open as new group or add to focused group
@@ -334,11 +336,11 @@ class CWindow {
}
// methods
- wlr_box getFullWindowBoundingBox();
+ CBox getFullWindowBoundingBox();
SWindowDecorationExtents getFullWindowExtents();
- wlr_box getWindowInputBox();
- wlr_box getWindowMainSurfaceBox();
- wlr_box getWindowIdealBoundingBoxIgnoreReserved();
+ CBox getWindowInputBox();
+ CBox getWindowMainSurfaceBox();
+ CBox getWindowIdealBoundingBoxIgnoreReserved();
void updateWindowDecos();
pid_t getPID();
IHyprWindowDecoration* getDecorationByType(eDecorationType);