Skip to content

Commit

Permalink
Drop (now unnecessary) hack
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed Jun 30, 2023
1 parent 824f055 commit 0ba7d1b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/server/frontend_wayland/wl_data_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,6 @@ void mf::WlDataDevice::event(std::shared_ptr<MirPointerEvent const> const& event
break;
case mir_pointer_action_leave:
send_leave_event();
if (!current_offer)
{
pointer_input_dispatcher->enable_dispatch_to_gesture_owner();
seat.for_each_listener(client, [](PointerEventDispatcher* pointer)
{
pointer->stop_dispatch_to_data_device();
});
}
break;
case mir_pointer_action_enter:
make_new_dnd_offer_if_possible(weak_source.lock());
Expand Down

0 comments on commit 0ba7d1b

Please sign in to comment.