aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAgent00Ming <[email protected]>2024-05-06 12:19:26 -0400
committerGitHub <[email protected]>2024-05-06 17:19:26 +0100
commitfa69de8ab6cc17bb763a1586c55847c5d5a82a83 (patch)
tree6e5f36a344e29338749997fe76bfa7c68422184b
parent05e4a3f1a89ec2defb1d77a223a9ce94e75fc76e (diff)
downloadHyprland-fa69de8ab6cc17bb763a1586c55847c5d5a82a83.tar.gz
Hyprland-fa69de8ab6cc17bb763a1586c55847c5d5a82a83.zip
pointer-constraints: Remove unnecessary cursor warps (#5895)
modified: src/protocols/PointerConstraints.cpp Co-authored-by: Agent_00Ming <[email protected]>
-rw-r--r--src/protocols/PointerConstraints.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/protocols/PointerConstraints.cpp b/src/protocols/PointerConstraints.cpp
index 95356430..7b5729c0 100644
--- a/src/protocols/PointerConstraints.cpp
+++ b/src/protocols/PointerConstraints.cpp
@@ -110,9 +110,6 @@ void CPointerConstraint::deactivate() {
active = false;
- if (locked)
- g_pCompositor->warpCursorTo(logicPositionHint(), true);
-
if (lifetime == ZWP_POINTER_CONSTRAINTS_V1_LIFETIME_ONESHOT) {
dead = true;
// remove from inputmgr
@@ -135,9 +132,6 @@ void CPointerConstraint::activate() {
}
if (locked)
- g_pCompositor->warpCursorTo(logicPositionHint(), true);
-
- if (locked)
resourceL->sendLocked();
else
resourceC->sendConfined();