From: Toni Wilen Date: Sun, 10 Dec 2023 16:46:58 +0000 (+0200) Subject: Disable unneeded window positioning calculation X-Git-Tag: 5.1.0~16 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=765275ac807cf26295c417c0a965612131b73501;p=francis%2Fwinuae.git Disable unneeded window positioning calculation --- diff --git a/od-win32/win32gui_extra.cpp b/od-win32/win32gui_extra.cpp index c5bc09fb..f8d67158 100644 --- a/od-win32/win32gui_extra.cpp +++ b/od-win32/win32gui_extra.cpp @@ -740,11 +740,13 @@ static HWND DIALOG_CreateIndirect(HINSTANCE hInst, LPCVOID dlgTemplate, { pos.x += MulDiv(tmpl->x, xBaseUnit, 4); pos.y += MulDiv(tmpl->y, yBaseUnit, 8); +#if 0 // // REACTOS : Need an owner to be passed!!! // if (!(tmpl->style & (WS_CHILD | DS_ABSALIGN)) && owner) ClientToScreen(owner, &pos); +#endif } }