--- a/ui/motif/window.c Sun Feb 11 15:44:33 2024 +0100 +++ b/ui/motif/window.c Sun Feb 11 22:06:23 2024 +0100 @@ -36,7 +36,7 @@ #include "../ui/window.h" #include "../common/context.h" -#include <cx/basic_mempool.h> +#include <cx/mempool.h> static int nwindows = 0; @@ -67,7 +67,7 @@ CxMempool *mp = cxBasicMempoolCreate(256); const CxAllocator *a = mp->allocator; UiObject *obj = cxCalloc(a, 1, sizeof(UiObject)); - obj->ctx = uic_context(obj, a); + obj->ctx = uic_context(obj, mp); obj->window = window_data; Arg args[16];