From 765275ac807cf26295c417c0a965612131b73501 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 10 Dec 2023 18:46:58 +0200 Subject: [PATCH] Disable unneeded window positioning calculation --- od-win32/win32gui_extra.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 } } -- 2.47.3