From 7a5234a0cca2508b7a5ede1fc60dc3ae8b72a51c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 29 Oct 2023 18:09:05 +0000 Subject: input: better cursor image infrastructure Improves handling of cursor images/surfaces Fixes an issue with decos and cursors Fixes #3471 --- src/Window.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Window.cpp') 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; -- cgit v1.2.3