mirror of https://github.com/mpv-player/mpv
wayland_common: fix type of dnd_action
The default value of -1 and comparisons >= 0 only work properly with an int type.
This commit is contained in:
parent
878b76f75e
commit
dafced8a8a
|
@ -144,7 +144,7 @@ struct vo_wayland_state {
|
|||
/* DND */
|
||||
struct wl_data_device_manager *dnd_devman;
|
||||
struct wl_data_offer *dnd_offer;
|
||||
enum mp_dnd_action dnd_action;
|
||||
int dnd_action; // actually enum mp_dnd_action
|
||||
char *dnd_mime_type;
|
||||
int dnd_fd;
|
||||
int dnd_mime_score;
|
||||
|
|
Loading…
Reference in New Issue