Files
oak-gpui/crates
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-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-06-17 19:27:42 -04:00
2024-06-17 19:27:42 -04:00
2024-06-17 19:27:42 -04:00
2024-05-29 18:06:45 -07:00
2024-06-17 19:27:42 -04:00
2024-04-30 23:31:59 -06:00
2024-06-12 23:22:52 +03:00
2024-06-12 23:22:52 +03:00
2024-05-10 15:50:20 -06:00
2024-03-11 10:45:57 +01:00
2024-06-18 12:39:56 +02:00
2024-03-26 16:10:09 -07:00
2024-06-17 19:27:42 -04:00
2024-05-23 15:50:59 +02:00
2024-06-13 16:38:53 -07:00
2024-04-15 14:21:52 +02:00
2024-06-17 19:27:42 -04:00
2024-06-14 16:11:24 -07:00
2024-06-17 19:27:42 -04:00