aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-09-18 18:10:20 +0100
committerVaxry <[email protected]>2024-09-18 18:10:20 +0100
commitebd03043024cd818440ea66b6a84d4bcfd59c92a (patch)
treee5ac456976fd6e8818f8f3912c53a04f68ccad37
parenta4298ca7872f949d09cb5fa1cbcb449b7964c664 (diff)
downloadHyprland-ebd03043024cd818440ea66b6a84d4bcfd59c92a.tar.gz
Hyprland-ebd03043024cd818440ea66b6a84d4bcfd59c92a.zip
-rw-r--r--src/managers/PointerManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/managers/PointerManager.cpp b/src/managers/PointerManager.cpp
index 96d54ff5..6bc4d859 100644
--- a/src/managers/PointerManager.cpp
+++ b/src/managers/PointerManager.cpp
@@ -246,9 +246,8 @@ void CPointerManager::recheckEnteredOutputs() {
// if we are using hw cursors, prevent
// the cursor from being stuck at the last point.
- // if we are leaving it, move it to narnia.
if (!s->hardwareFailed && (s->monitor->output->getBackend()->capabilities() & Aquamarine::IBackendImplementation::eBackendCapabilities::AQ_BACKEND_CAPABILITY_POINTER))
- s->monitor->output->moveCursor({-1337, -420});
+ setHWCursorBuffer(s, nullptr);
if (!currentCursorImage.surface)
continue;