mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05:00
xwayland/selection/dnd: fix parameter type
Signed-off-by: xurui <xurui@kylinos.cn>
This commit is contained in:
parent
3eb07b1fdb
commit
91c08d5a53
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue