mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 19:45:58 +01:00
pointer-constraints: don't warp on entering a confined pointer
ref #5774
This commit is contained in:
parent
90a53aed59
commit
2e763764bf
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pCompositor->warpCursorTo(logicPositionHint(), true);
|
if (locked)
|
||||||
|
g_pCompositor->warpCursorTo(logicPositionHint(), true);
|
||||||
|
|
||||||
if (locked)
|
if (locked)
|
||||||
resourceL->sendLocked();
|
resourceL->sendLocked();
|
||||||
|
|
Loading…
Reference in a new issue