• src/conio/OverhaulNotes.txt win32gdi.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, September 27, 2024 21:38:34
    https://gitlab.synchro.net/main/sbbs/-/commit/a8e5929a05112535cac17205
    Modified Files:
    src/conio/OverhaulNotes.txt win32gdi.c
    Log Message:
    Fix issue 138

    Weird stuff happened when dragging a GDI window between monitors
    with different zoom (DPI) settings. The following changes were
    all done to clean up this stuff:

    Window position is signed
    Do some type casting for warnings
    Fix return times of GetDpiFor*() pointers
    Fix fallback to GetDpiForSystem() (could never be used)
    Handle WM_DPICHANGED correctly
    Move some copy/pasted code into a function
    Fix return value for WM_GETDPISCALEDSIZE
    Fix return value for WM_USER_SETCURSOR

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net