diff options
author | Ilya Trukhanov <lahvuun@protonmail.com> | 2019-01-22 17:25:22 +0200 |
---|---|---|
committer | Ilya Trukhanov <lahvuun@protonmail.com> | 2019-01-22 19:50:01 +0200 |
commit | c4ce3d0a49dd3293a1d6a949ce890f839c28466e (patch) | |
tree | 89431eae9a8a8179e48084eafc3978bf720480f5 /include/wlr/interfaces/wlr_switch.h | |
parent | b619ab4d34b9bbcae7fbfdf87e84a9567acefa6b (diff) |
Check if client understands wl_pointer::frame
Fixes a crash in SDL2 applications when using locked pointer.
SDL2 expects a wl_pointer v1 interface and doesn't provide a handler for
the wl_pointer::frame event. This results in a "listener function for
opcode 5 of wl_pointer is NULL" abort in wayland-client.
Tested on Xonotic v0.8.2 with libSDL2 v2.0.9. Xonotic needs to be ran
with "SDL_VIDEODRIVER=wayland xonotic-sdl" for SDL2 to use the wayland
backend.
Diffstat (limited to 'include/wlr/interfaces/wlr_switch.h')
0 files changed, 0 insertions, 0 deletions