diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2020-10-25 13:53:34 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2020-10-25 15:59:16 +0200 |
commit | 007ace76e2d0f96ec189ce5564c7a8ff82268e08 (patch) | |
tree | 69136eb947e152d422294fd1d6ecc1d6e3bc0d0b | |
parent | 49d6a1e77d3dba5cf30a2cb9cd05dc6dd6407fb2 (diff) | |
download | mpv-007ace76e2d0f96ec189ce5564c7a8ff82268e08.tar.bz2 mpv-007ace76e2d0f96ec189ce5564c7a8ff82268e08.tar.xz |
wayland: use more specific input codes header
Wayland’s wl_pointer interface describes the button event’s argument as
being taken from linux/input-event-codes.h, so there is no need to
include the more generic linux/input.h.
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 0046111608..b72cd9346b 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -19,7 +19,7 @@ #include <limits.h> #include <poll.h> #include <unistd.h> -#include <linux/input.h> +#include <linux/input-event-codes.h> #include <time.h> #include "common/msg.h" #include "options/m_config.h" |