X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin3_src%2FWM%2Fwm.c;h=cb59154529f45fe2756c9e036b2c4a29d054492a;hb=507f19941f45bca7c1de783a394f56b15f10be4d;hp=2478151280e052087d953390115ed317f6564f11;hpb=9b61291b136d9fdc196ddab582cdb6cff8b70b09;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin3_src/WM/wm.c b/Usermode/Applications/axwin3_src/WM/wm.c index 24781512..cb591545 100644 --- a/Usermode/Applications/axwin3_src/WM/wm.c +++ b/Usermode/Applications/axwin3_src/WM/wm.c @@ -15,6 +15,7 @@ // === IMPORTS === extern void IPC_SendWMMessage(tIPC_Client *Client, uint32_t Src, uint32_t Dst, int Msg, int Len, const void *Data); +extern tWindow *IPC_int_GetWindow(tIPC_Client *Client, uint32_t ID); // === GLOBALS === tWMRenderer *gpWM_Renderers; @@ -92,6 +93,11 @@ tWindow *WM_CreateWindow(tWindow *Parent, tIPC_Client *Client, uint32_t ID, int return ret; } +tWindow *WM_GetWindowByID(tWindow *Requester, uint32_t ID) +{ + return IPC_int_GetWindow(Requester->Client, ID); +} + tWindow *WM_CreateWindowStruct(size_t ExtraSize) { tWindow *ret;