--- a/ui/motif/window.h Sun Nov 23 10:39:51 2025 +0100 +++ b/ui/motif/window.h Sun Nov 23 10:49:24 2025 +0100 @@ -34,10 +34,13 @@ #ifdef __cplusplus extern "C" { #endif + +#define UI_MOTIF_APP_WINDOW 0xabcd -typedef struct UiMainWindow { +typedef struct UiMotifAppWindow { + int magic; Widget menubar; -} UiMainWindow; +} UiMotifAppWindow; #ifdef __cplusplus