summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-29 18:09:05 +0000
committerVaxry <vaxry@vaxry.net>2023-10-29 18:09:05 +0000
commit7a5234a0cca2508b7a5ede1fc60dc3ae8b72a51c (patch)
tree581626c545765a0f797a4f4681100facb0826b0f /src/Window.cpp
parentaf9440152e19cee74b675e53087e032b9ccb5459 (diff)
input: better cursor image infrastructure
Improves handling of cursor images/surfaces Fixes an issue with decos and cursors Fixes #3471
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 7825e7d3..fb46740b 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -171,6 +171,10 @@ wlr_box CWindow::getWindowInputBox() {
return finalBox;
}
+wlr_box CWindow::getWindowMainSurfaceBox() {
+ return {m_vRealPosition.vec().x, m_vRealPosition.vec().y, m_vRealSize.vec().x, m_vRealSize.vec().y};
+}
+
SWindowDecorationExtents CWindow::getFullWindowReservedArea() {
SWindowDecorationExtents extents;