input: handle mouse on decorations (#3560)

This commit is contained in:
MightyPlaza 2023-10-29 20:14:47 +00:00 committed by GitHub
parent 7a5234a0cc
commit 9abfa9efc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 165 additions and 65 deletions

View file

@ -28,3 +28,11 @@ CRegion IHyprWindowDecoration::getWindowDecorationRegion() {
bool IHyprWindowDecoration::allowsInput() {
return false;
}
void IHyprWindowDecoration::onBeginWindowDragOnDeco(const Vector2D&) {}
bool IHyprWindowDecoration::onEndWindowDragOnDeco(CWindow* pDraggedWindow, const Vector2D&) {
return true;
}
void IHyprWindowDecoration::onMouseButtonOnDeco(const Vector2D&, wlr_pointer_button_event*) {}