commit | 78ff147181919f3f3595d90b571bd0863c0c4aa4 | [log] [tgz] |
---|---|---|
author | NeroBurner-tux <pyro4hell@gmail.com> | Tue Sep 24 19:44:29 2019 +0200 |
committer | omar <omarcornut@gmail.com> | Tue Dec 17 14:33:36 2019 +0100 |
tree | 78ec502446ef8de9bea0e9d101b1406bd426eac5 | |
parent | 9d444062f974b21f1fc09b7e85479fff3e0789c2 [diff] |
SDL: On wayland use SDL_GetMouseState (#2802) When the SDL Video backend is set to wayland the function `SDL_GetGlobalMouseState` does not work. Most probably a security measure for programs to not grab everything the user does https://wiki.libsdl.org/SDL_GetGlobalMouseState using SDL_GetMouseState https://wiki.libsdl.org/SDL_GetMouseState works on wayland