• src/conio/bitmap_con.c sdl_con.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wed Jun 7 12:21:42 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/64f21b53bd26fb15c232341f
    Modified Files:
    src/conio/bitmap_con.c sdl_con.c
    Log Message:
    Work around marco or SDL bug in SDL_SetWindowMinimumSize()

    When using the marco WM, and resizing using ALT-Right-drag, calls to SDL_SetWindowMinimumSize() result in the top-left corner of the
    window moving up and to the left (appears to be by the border size).

    To prevent this from being a maddening issue under marco, ensure
    we only call SDL_SetWindowMinimumSize() once when the minimum size
    changes on the window.

    Fixes SF ticket 115, thanks Ragnarok!

    While we're hear, ensure the minimium maximum window size holds
    the original sized window... we're not interested in downscaling.

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