# wayland: Implement xdg-activation when opening urls \(\#11368\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 86696d88cf9a4367f2a67bc2086b5e944eb7412e

Requested commit: 86696d88cf9a4367f2a67bc2086b5e944eb7412e

Commit: 86696d88cf9a4367f2a67bc2086b5e944eb7412e

Tree: 84cb9e9b58dd50fdf5a11dd6b5b87cdfdb6b1eb5

Author: apricotbucket28

Committer: GitHub

## Message

```
wayland: Implement xdg-activation when opening urls (#11368)

Since Wayland doesn't have a way for windows to activate themselves,
currently, when you click on a link in Zed, the browser window opens in
the background.

This PR implements the `xdg-activation` protocol to get an activation
token, which the browser can use to raise its window.


https://github.com/zed-industries/zed/assets/71973804/8b3456c0-89f8-4201-b1cb-633a149796b7

Release Notes:

- N/A
```

## Parents

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

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