diff -r 1524b5dc4d4d -r 0accf125a65f ui/common/context.h --- a/ui/common/context.h Thu Apr 16 17:41:35 2026 +0200 +++ b/ui/common/context.h Fri Apr 17 13:21:11 2026 +0200 @@ -66,6 +66,9 @@ const CxAllocator *allocator; CxList *destroy_handler; + // document pointer, if this is a document context + void *self_doc; + void *document; CxList *documents;