pointer-constraints: don't warp on entering a confined pointer

ref #5774
This commit is contained in:
Vaxry 2024-04-27 21:15:16 +01:00
parent 90a53aed59
commit 2e763764bf

View file

@ -134,6 +134,7 @@ void CPointerConstraint::activate() {
wlr_seat_pointer_enter(g_pCompositor->m_sSeat.seat, pHLSurface->wlr(), LOCAL.x, LOCAL.y);
}
if (locked)
g_pCompositor->warpCursorTo(logicPositionHint(), true);
if (locked)