Open ShlomiRex opened 5 months ago
Can you try version 2.30.3 on WSL?
@ShlomiRex Did it work out? I'm having the same issue. @slouken I'm using the most recent version and the problem continues. Possibly its happening because Windows doesn't want to allow a WSL program to control its mouse.
I want to disable the mouse cursor, but i'm using WSL to develop my program.
Here is an example, we can see the cursor even though I disabled the cursor:
When I compile under Windows (VC++), the mouse is indeed hidden:
Example source code to replicate this issue:
Compile it under unix:
g++ main.cpp -lSDL2main -lSDL2
Run:./a.out
Why I want to disable the cursor? because I want to render different cursor (some games use different cursors).
Here we can see VSCode using WSL as remote:
SDL2 Version on WSL: 2.0.20
SDL2 Version on Windows (VC++): 2.30.3