# gpui_linux: Add wl_data_source support for outbound drags on Wayland \(\#61947\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c7aea6cbbd43a5849c4f8be6cbd74789e9ca48c6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c7aea6cbbd43a5849c4f8be6cbd74789e9ca48c6

Requested commit: c7aea6cbbd43a5849c4f8be6cbd74789e9ca48c6

Commit: c7aea6cbbd43a5849c4f8be6cbd74789e9ca48c6

Tree: 54be2ef0997513474a5cd0b6da6cf00520fbc098

Author: Erik W

Committer: GitHub

## Message

```
gpui_linux: Add wl_data_source support for outbound drags on Wayland (#61947)

# Objective

- Enable drag'n'drop from Zed in Wayland.
- Partially addresses #13186
- Related to #58161, #61940

## Solution

- Implement wl_data_source support for outbound drags on Wayland

## Testing

Tested on KDE Wayland, kwin 6.7.3
I dragged files to Firefox, to other Zed windows and into Dolphin.  

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

## Showcase

Can try to record if requested

Release Notes:

- Added support for dragging files from the Project Panel to external
Linux Wayland apps.
```

## Parents

- [56cf49bc1afe05bbc777a7df5a01f79299ab4956](https://git.cafe/gitcafe/zed/commit/56cf49bc1afe05bbc777a7df5a01f79299ab4956?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c7aea6cbbd43a5849c4f8be6cbd74789e9ca48c6?format=markdown)
