# linux/x11: Resize on GTK_EDGE_CONSTRAINTS atom \(\#13833\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c8b106245c7e62353e0cd595213b166e03378130

Requested commit: c8b106245c7e62353e0cd595213b166e03378130

Commit: c8b106245c7e62353e0cd595213b166e03378130

Tree: 2aec8d57643ab21bb0a3382d0a8a808a1f890191

Author: Thorsten Ball

Committer: GitHub

## Message

```
linux/x11: Resize on GTK_EDGE_CONSTRAINTS atom (#13833)

With the new window decorations resizing was _really_ laggy on my X11
machine.

Before:
- Click on window border (hitbox doesn't work properly, but that's
another issue)
- Drag and resize
- 4-5s nothing happens
- Window is resized

After:
- Click on window border
- Drag and resize
- Window is resized

I'm still not 100% sure on why this happens on my machine and not
Conrad's/Mikayla's, but seems like that GTK_EDGE_CONSTRAINTS atom is
sent when resizing.

The other thing that I can't explain is that we get a `ConfigureNotify`
when resizing, with the right size, but maybe not often enough?

Anyway, for now we'll go with this.

Release Notes:

- N/A
```

## Parents

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

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