English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   ui debugger window, vertical position (https://eab.abime.net/showthread.php?t=105993)

a/b 25 February 2021 16:56

ui debugger window, vertical position
 
It keeps moving up every time it's reopened, if the taskbar is at the top.
Reason is od-win32/debug_win32.cpp, DebuggerProc(), WM_DESTROY handler (line ~1770):
Code:

        if (hmon && GetMonitorInfo(hmon, &mi)) {
                xoffset = mi.rcWork.left - mi.rcMonitor.left;
                yoffset = mi.rcWork.top - mi.rcWork.top;
        }

yoffset should be: mi.rcWork.top - mi.rcMonitor.top
As it's now, yoffset always ends up being 0, DebuggerPosY reg entry being too low, and the consequent shift-F12s will reopen it 28 pixels (in my case) above the previous location until it crawls under the taskbar.

Toni Wilen 05 March 2021 19:36

Fixed, hopefully works, unsupported as usual :)


All times are GMT +2. The time now is 14:37.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.03968 seconds with 11 queries