wslg: Mouse locking/hiding not working in OpenGL app
Environment
Windows build number: 10.0.22000.71
Your Distribution version: 20.04
Your WSLg version: 1.0.24
Steps to reproduce
Download and install https://jenkins.thebrokenrail.com/job/minecraft-pi-reborn/job/master/97/artifact/out/minecraft-pi-reborn-client_2.1.6~buster_amd64.deb. For reference, I’m playing Minecraft Pi Edition: Reborn by MCPI Revival.
WSL logs:
- Attach WSLg logs from
/mnt/wslg
You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg
(e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg
)
pulseaudio.log weston.log (versions log was empty)
Expected behavior
The mouse should have been hidden, and it should have also locked in place to the center of the window
Actual behavior
The mouse isn’t hidden and it also can move freely around when the game is playing without being locked in place. This doesn’t happen on normal linux. The mouse moving freely also breaks the player view.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 5
- Comments: 15
this happen with qemu too.