1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 02:41:13 +00:00

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.
This commit is contained in:
Emmanuel Gil Peyrot 2020-10-25 13:53:34 +01:00 committed by Jan Ekström
parent 49d6a1e77d
commit 007ace76e2

View File

@ -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"