mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
xwayland: make wayland → xwayland work
This commit is contained in:
parent
30babb3865
commit
3effe153bc
3 changed files with 26 additions and 12 deletions
|
|
@ -537,9 +537,11 @@ static uint32_t pointer_drag_button(struct wlr_seat_pointer_grab *grab,
|
|||
drag->source->dnd_drop(drag->source);
|
||||
}
|
||||
|
||||
drag->source->offer->in_ask =
|
||||
drag->source->current_dnd_action ==
|
||||
WL_DATA_DEVICE_MANAGER_DND_ACTION_ASK;
|
||||
if (drag->source->offer != NULL) {
|
||||
drag->source->offer->in_ask =
|
||||
drag->source->current_dnd_action ==
|
||||
WL_DATA_DEVICE_MANAGER_DND_ACTION_ASK;
|
||||
}
|
||||
|
||||
struct wlr_drag_drop_event event = {
|
||||
.drag = drag,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue