Skip to content

Commit

Permalink
Send leave() after drop()
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jun 27, 2023
1 parent db20c3a commit 8e052b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/frontend_wayland/wl_data_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ void mf::WlDataDevice::event(std::shared_ptr<MirPointerEvent const> const& event
{
pointer->stop_dispatch_to_data_device();
});
send_leave_event();
if (current_offer)
{
if (!current_offer.value().accepted_mime_type && wl_resource_get_version(resource) >= 3)
Expand Down

0 comments on commit 8e052b2

Please sign in to comment.