# wayland: Refactor clipboard implementation \(\#12405\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f6fa6600bc0293707457f27f5849c3ce73bd985f

Requested commit: f6fa6600bc0293707457f27f5849c3ce73bd985f

Commit: f6fa6600bc0293707457f27f5849c3ce73bd985f

Tree: 5518c0dad62f2a4d99054f3eecc31ebb7c0727f0

Author: apricotbucket28

Committer: GitHub

## Message

```
wayland: Refactor clipboard implementation (#12405)

Fixes https://github.com/zed-industries/zed/issues/12054

Replaces the `copypasta`/`smithay-clipboard` implementation with a new,
custom one

TODO list:

- [x] Cleanup code
- [x] Remove `smithay-clipboard`
- [x] Add more mime types to the supported list

Release Notes:

- Fixed drag and drop on Gnome
- Fixed clipboard paste on Hyprland
```

## Parents

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

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