Hyprland/src/render/decorations/IHyprWindowDecoration.cpp
dranull 8321d6be46
internal: Unify input handling on decorations (#4280)
* Unify input handling on decorations

* Make input methods private

* Optional data
2023-12-28 23:54:41 +01:00

25 lines
584 B
C++

#include "IHyprWindowDecoration.hpp"
#include "../../Window.hpp"
IHyprWindowDecoration::IHyprWindowDecoration(CWindow* pWindow) {
m_pWindow = pWindow;
}
IHyprWindowDecoration::~IHyprWindowDecoration() {}
bool IHyprWindowDecoration::onInputOnDeco(const eInputType, const Vector2D&, std::any) {
return false;
}
eDecorationLayer IHyprWindowDecoration::getDecorationLayer() {
return DECORATION_LAYER_UNDER;
}
uint64_t IHyprWindowDecoration::getDecorationFlags() {
return 0;
}
std::string IHyprWindowDecoration::getDisplayName() {
return "Unknown Decoration";
}