Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI
x11: stop the render when the frame callback closes the window
nusaturn3485880c1788
diff --git a/kit/intern/kit_window_x11.c b/kit/intern/kit_window_x11.cindex d06e881..9b347e7 100644--- a/kit/intern/kit_window_x11.c+++ b/kit/intern/kit_window_x11.c@@ -493,6 +493,9 @@ static void render_window(BKWindow *win)win->want_frame = 0;win->frame_start = now_ms();win->cb.on_frame(win->cb.data, win);+ if (!win->xid) { /* the frame callback can close the window */+ return;+ }}win->render_pending = 0;do_render(win);