diff options
Diffstat (limited to 'src/render/decorations/CHyprGroupBarDecoration.hpp')
-rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.hpp b/src/render/decorations/CHyprGroupBarDecoration.hpp index d316d01a..45881add 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.hpp +++ b/src/render/decorations/CHyprGroupBarDecoration.hpp @@ -1,6 +1,7 @@ #pragma once #include "IHyprWindowDecoration.hpp" +#include "../../devices/IPointer.hpp" #include <deque> #include "../Texture.hpp" #include <string> @@ -61,8 +62,8 @@ class CHyprGroupBarDecoration : public IHyprWindowDecoration { bool onBeginWindowDragOnDeco(const Vector2D&); bool onEndWindowDragOnDeco(const Vector2D&, PHLWINDOW); - bool onMouseButtonOnDeco(const Vector2D&, wlr_pointer_button_event*); - bool onScrollOnDeco(const Vector2D&, wlr_pointer_axis_event*); + bool onMouseButtonOnDeco(const Vector2D&, const IPointer::SButtonEvent&); + bool onScrollOnDeco(const Vector2D&, const IPointer::SAxisEvent); struct STitleTexs { // STitleTexs* overriden = nullptr; // TODO: make shit shared in-group to decrease VRAM usage. |