Files
oak-gpui/crates/gpui/src
Thorsten Ball 64d815a176 linux/x11: Fix closing of GPUI windows not working (#13201)
This fixes everything but the main Zed window (GPUI examples, prompt
library, etc.) not being closable by clicking on the X in X11.

We had a dangling reference before: we would remove the window from the
X11 state, but GPUI itself would still have the window in its
references.

In order to fix this we have to call `window.close()`, which ends up
calling `cx.remove_window()`, which removes the reference.

That in turn then causes the reference to be dropped, which cleans up
the X11 state for the window.

Release Notes:

- N/A
2024-06-18 15:22:26 +02:00
..
2024-06-13 16:38:53 -07:00
2024-06-13 16:38:53 -07:00
2024-06-17 12:44:32 -06:00
2024-05-29 18:06:45 -07:00
2024-03-11 10:45:57 +01:00
2024-06-12 23:22:52 +03:00
2024-01-21 14:26:45 -08:00
2024-01-21 14:26:45 -08:00
2024-06-12 23:22:52 +03:00
2024-05-29 18:06:45 -07:00
2024-06-13 16:38:53 -07:00
2024-05-22 18:04:47 -04:00