| Summary: | [PATCH] Support wayland compositors with wl_seat version < 5 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Nia Alarie <nia> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-2.0.14 |
| Version: | HG 2.0 | ||
| Hardware: | x86_64 | ||
| OS: | NetBSD | ||
| Attachments: | Patch to correct the fallback for lower wl_seat verisons + fix the build on non-Linux | ||
Ryan, can you look at this? This patch is now https://hg.libsdl.org/SDL/rev/3cc182fa6110, thanks! --ryan. |
Created attachment 4290 [details] Patch to correct the fallback for lower wl_seat verisons + fix the build on non-Linux The current code causes a protocol error when the compositor reports a wl_seat version less than 5. This patch also makes <linux/input.h> optional for wayland support, which I needed to build this code on my test platform (wayland via swc on NetBSD).