From 3b534ad231e9d18f7f856477384d0b1dadc86c4f Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Sat, 15 Apr 2023 21:37:49 +0300 Subject: [PATCH] actually, let's not stop invalidating the root node on configure_notify --- src/window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.c b/src/window.c index 09d42be..c3ed778 100644 --- a/src/window.c +++ b/src/window.c @@ -426,6 +426,7 @@ static void window_process_xcb_event(UIWindow *window, xcb_generic_event_t *even window->root->rect.w = ev->width; window->root->rect.h = ev->height; node_dispatch(window->root, UI_EVENT_RELAYOUT, 0, NULL); + window_invalidate_node(window, window->root); #ifdef _UI_DEBUG node_dump(window->root, 0); #endif