You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0).
Date: Mon Jan 1 12:03:15 2024
Tag: v0.34.0
flags: (if any)
Instantiate a layershell surface and add a pointer constraint object to it pointer_constraints.lock_pointer(surface, pointer, None, Lifetime::Persistent). Move the mouse into the layer surface -> its locked.
Moving the (now invisible mouse) to a different monitor releases the mouse from the layer surface.
This behaviour is different than at least
wayfire
sway
KDE
On the above compositors the mouse stays locked.
Hyprland Version
System/Version info
Bug or Regression?
Bug
Description
With an active zwp_pointer_constraints_v1::lock_pointer instance, the mouse cursor is released from surfaces when the mouse enters another output.
How to reproduce
Instantiate a layershell surface and add a pointer constraint object to it
pointer_constraints.lock_pointer(surface, pointer, None, Lifetime::Persistent)
. Move the mouse into the layer surface -> its locked.Moving the (now invisible mouse) to a different monitor releases the mouse from the layer surface.
This behaviour is different than at least
On the above compositors the mouse stays locked.
The code in question can be found here.
To reproduce, Lan Mouse can be used (will require two pcs).
I can try to make a more minimal reproducable example.
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: