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:
sfan5 2024-02-28 18:16:51 +01:00
parent 878b76f75e
commit dafced8a8a
1 changed files with 1 additions and 1 deletions

View File

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