From 91c08d5a53a191669487eb2a8dff9096db1cbac6 Mon Sep 17 00:00:00 2001 From: xurui Date: Tue, 20 Jan 2026 16:29:24 +0800 Subject: [PATCH] xwayland/selection/dnd: fix parameter type Signed-off-by: xurui --- xwayland/selection/dnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwayland/selection/dnd.c b/xwayland/selection/dnd.c index 70792b5f4..31e588baf 100644 --- a/xwayland/selection/dnd.c +++ b/xwayland/selection/dnd.c @@ -23,7 +23,7 @@ static xcb_atom_t data_device_manager_dnd_action_to_atom( static enum wl_data_device_manager_dnd_action data_device_manager_dnd_action_from_atom(struct wlr_xwm *xwm, - enum atom_name atom) { + xcb_atom_t atom) { if (atom == xwm->atoms[DND_ACTION_COPY] || atom == xwm->atoms[DND_ACTION_PRIVATE]) { return WL_DATA_DEVICE_MANAGER_DND_ACTION_COPY;