summaryrefslogtreecommitdiff
path: root/src/helpers/WLClasses.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/helpers/WLClasses.hpp
parent73e78f05ad5cafa20ac5bf177c94ac9ecca37097 (diff)
Internal: Hyprland box implementation (#3755)
* box impl * remove unused operators * missed applyfromwlr
Diffstat (limited to 'src/helpers/WLClasses.hpp')
-rw-r--r--src/helpers/WLClasses.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index e8647426..f7efbe98 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -33,7 +33,7 @@ struct SLayerSurface {
DYNLISTENER(commitLayerSurface);
DYNLISTENER(newPopup);
- wlr_box geometry = {0, 0, 0, 0};
+ CBox geometry = {0, 0, 0, 0};
Vector2D position;
zwlr_layer_shell_v1_layer layer;
@@ -65,12 +65,12 @@ class CMonitor;
struct SRenderData {
CMonitor* pMonitor;
timespec* when;
- int x, y;
+ double x, y;
// for iters
void* data = nullptr;
wlr_surface* surface = nullptr;
- int w, h;
+ double w, h;
// for rounding
bool dontRound = true;