microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
9.9k stars 296 forks source link

XWarpPointer does not move mouse cursor #1242

Open kmar opened 1 month ago

kmar commented 1 month ago

Windows build number:

22631.3447

Your Distribution version:

24.04

Your WSL versions:

WSL version: 2.1.5.0 Kernel version: 5.15.146.1-2 WSLg version: 1.0.60 MSRDC version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.3447

Steps to reproduce:

  1. install openarea
  2. run openarena
  3. start a game, try to control with a mouse

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

XWarpPointer moves mouse cursor - if this is considered a security vulnerabity, please make it configurable linke in VMWare for example, one has to put vmmouse.present = "FALSE" in a vmx file

Actual behavior:

XWarpPointer doesn't move mouse cursor making first person games built using X11 unplayable with mouse (also impossible to test own FPS engine builds in WSL2)