# gpui: Throttle framerate to 30 for unfocused windows \(\#52970\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 72eb8425405911b902a03df4bab6f4c8cd94912a

Requested commit: 72eb8425405911b902a03df4bab6f4c8cd94912a

Commit: 72eb8425405911b902a03df4bab6f4c8cd94912a

Tree: 40413d71891788767de86f315756b6d63966034e

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Throttle framerate to 30 for unfocused windows (#52970)

This should reduce energy consumption when having agents running in
background windows, as the spinner that is being animated won't refresh
at the display framerate anymore.

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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