mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-22 23:43:50 -07:00
pointer-constraints: don't warp on entering a confined pointer
ref #5774
This commit is contained in:
@@ -134,6 +134,7 @@ void CPointerConstraint::activate() {
|
|||||||
wlr_seat_pointer_enter(g_pCompositor->m_sSeat.seat, pHLSurface->wlr(), LOCAL.x, LOCAL.y);
|
wlr_seat_pointer_enter(g_pCompositor->m_sSeat.seat, pHLSurface->wlr(), LOCAL.x, LOCAL.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (locked)
|
||||||
g_pCompositor->warpCursorTo(logicPositionHint(), true);
|
g_pCompositor->warpCursorTo(logicPositionHint(), true);
|
||||||
|
|
||||||
if (locked)
|
if (locked)
|
||||||
|
Reference in New Issue
Block a user