Skip to content
Commit 1ee00bc6 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Fix drag-and-drop issues in Firefox

At the moment, the data offer initializes supported and preferred action
to "none". But if the target doesn't accept anything the source
provides, the compositor may still need to send action events with "none"

This change makes data offer and data source provide dnd actions wrapped
in std::optional in order to indicate if they have been set explicitly.
parent 20a94d71
Pipeline #178267 passed with stage
in 11 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment