# gpui: Call \`ack_configure\` on throttled Wayland resize events \(\#49906\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 007aba89bfef1687981c786aae94e80313c1ccf0

Requested commit: 007aba89bfef1687981c786aae94e80313c1ccf0

Commit: 007aba89bfef1687981c786aae94e80313c1ccf0

Tree: aaf432af930e91d5c2dc3cd15de4c1e14b965203

Author: Albab Hasan

Committer: GitHub

## Message

```
gpui: Call `ack_configure` on throttled Wayland resize events (#49906)

when a resizing configure event is throttled (skipped to limit redraws
to once per vblank) the xdg_surface serial was never acknowledged. the
early return bypassed the ack_configure call that follows the throttle
check, violating the xdg-shell protocol requirement that every configure
serial be acknowledged before the next surface commit.

fix by calling ack_configure before the early return so the compositor
always receives the acknowledgment, dosent matter whether the resize
itself is applied.

Release Notes:

- N/A
```

## Parents

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

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