# gpui: Activate the window example along with the Quit action \(\#30790\) · gitcafe/zed

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

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

Visibility: public

Requested revision: df98d94a24cb79184d44e6970ca4658a572f361b

Requested commit: df98d94a24cb79184d44e6970ca4658a572f361b

Commit: df98d94a24cb79184d44e6970ca4658a572f361b

Tree: 871a59f1fbce135f9e5c79b3f29cd0b90408eb4b

Author: Michael Angerman

Committer: GitHub

## Message

````
gpui: Activate the window example along with the Quit action (#30790)

Make the gpui examples more consistent by activating the window upon
startup.
Most of the examples have 

```rust
activate(true) 
```

so this one should as well.

Make it easier to exit the example with the `cmd-q` KeyBinding

Release Notes:

- N/A
````

## Parents

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

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