mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 11:45:59 +01:00
8321d6be46
* Unify input handling on decorations * Make input methods private * Optional data
25 lines
584 B
C++
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";
|
|
}
|