diff --git a/gui/gui.c b/gui/gui.c index 29cec61..2cef826 100644 --- a/gui/gui.c +++ b/gui/gui.c @@ -852,6 +852,7 @@ void gui_generate_draw_commands_inner( DEBUG("%.*s: dirtiness: %b\n", node->debug_string.length, node->debug_string.cstring, dirty); if(dirty) { + node->dirty = true; GUI_Draw_Command *draw_command = arena_allocate_draw_command(draw_command_arena); DEBUG("%d, %d, %d, %x, %d, %u\n", node->style->red, node->style->green, node->style->blue, node->style->border_color, node->style->border_thickness, node->style->roundedness); @@ -3648,9 +3649,9 @@ int main(void) //gui = test_gui; //gui = test_gui__calculator; - gui = test_gui__scrollbars; + //gui = test_gui__scrollbars; //gui = test_gui__draw_command_using_sliders; - //gui = test_gui__subtree; + gui = test_gui__subtree; //gui = test_gui__tmp; X11_Window xwindow = {0};