# gpui: Make screen capture dependency optional \(\#32937\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9dc3ac9657e9512adb40814614535f30e0fbeb8b

Requested commit: 9dc3ac9657e9512adb40814614535f30e0fbeb8b

Commit: 9dc3ac9657e9512adb40814614535f30e0fbeb8b

Tree: ea29b3fafa21e1ab3370be2f6adee85c214cf725

Author: Hilmar Wiegand

Committer: GitHub

## Message

```
gpui: Make screen capture dependency optional (#32937)

Add `screen-capture` feature to gpui to enable screen capture support.  The motivation for this is to make dependencies on scap / x11 / xcb optional.

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <michael@zed.dev>
```

## Parents

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

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