• 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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, September 30, 2024 13:59:51
    https://gitlab.synchro.net/main/sbbs/-/commit/7ece180e249daa63249931d5
    Modified Files:
    src/conio/OverhaulNotes.txt win32gdi.c
    Log Message:
    Fix issue 146

    Fix return value when handling WM_SETCURSOR. Returning FALSE
    indicating we didn't handle it stopped the cursor from being set
    to the size arrow cursors. Instead, pass it to DefWindowProc().

    While we're here, handle WM_SIZING to make it more clear that you
    can't change the aspect ratio by dragging.

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