# wayland: Implement \`activate\(\)\` API and use portals to open URLs and paths \(\#13336\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0b6ef995d4ea6a7978f5579e25bf5f6866c463ee

Requested commit: 0b6ef995d4ea6a7978f5579e25bf5f6866c463ee

Commit: 0b6ef995d4ea6a7978f5579e25bf5f6866c463ee

Tree: ef5a7ddf52ee3c692332e3e040d55533b94183db

Author: apricotbucket28

Committer: GitHub

## Message

```
wayland: Implement `activate()` API and use portals to open URLs and paths (#13336)

This PR consists of two main changes:
1. The first commit changes the `open` crate for opening URLs/paths for
the `OpenURI` desktop portal. This fixes the activation token not being
passed to programs (at least on KDE).
2. The second commit implements the window `activate()` API on Wayland.
This allows KWin and Mutter to show a visual indicator when the window
is requesting attention. (see
https://github.com/zed-industries/zed/issues/12557)

![image](https://github.com/zed-industries/zed/assets/71973804/ce148f8e-28fd-4249-8f8d-3a5828ed6f83)


Release Notes:

- N/A
```

## Parents

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

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