Skip to content

Remove Wayland::Client usage in wl->xwl drags

David Edmundson requested to merge work/xwl_drag2 into master

For clipboard usage we made wayland to xwayland avoid going through an internal wayland connection.

For drag and drop we were left with a mixture. This led to an awkward situation where we could process endDrag before we received the drop event. By handling the data source directly we avoid this situation.

Testing done:

  • dragging files onto chrome now gets accepted as new tabs
  • we still seem to have an issue with drag offers not always being accepted by the client, but this appears to be an existing bug.

The helper functions appear duplicated because we have both client enums used in xwl->wayland drags.

BUG: 437406

Edited by David Edmundson

Merge request reports