Merge branch 'master' of github.com:thepowersgang/acess2
[tpg/acess2.git] / Usermode / Applications / axwin2_src / WM / wm.c
index bb8d7f2..b073223 100644 (file)
@@ -139,7 +139,7 @@ tElement *AxWin_CreateAppWindow(tApplication *App, const char *Name)
        win = calloc(1, sizeof(tWindow) + 1);
        if(!win)        return NULL;
        
-       ret = &win->Element;
+       ret = &win->RootElement;
        ret->Type = ELETYPE_WINDOW;
        ret->Data = win;
        ret->Parent = &App->MetaElement;

UCC git Repository :: git.ucc.asn.au