Skip to content

Mouse locking/hiding not working in OpenGL app #376

Open
@NoozAbooz

Description

@NoozAbooz

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
image

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.

21.07.2021_15.59.26_REC.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions