• src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h

    From Deucе@VERT to Git commit to main/sbbs/master on Sun Sep 22 22:46:08 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/eb17b48c17a5b39ca39c2eba
    Modified Files:
    src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Use SDL_GetWindowSizeInPixels, and don't resize when maximized

    Fixes sourceforge issue 126 (finally!)

    Apparently, macOS "maximized" is the same as "fullscreen" in SDL.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 19 11:17:33 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/435d55d695ea0fd932adf997
    Modified Files:
    src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    More hacking to make macOS happy...

    Allow ALT+Arrow to resize from maximized by calling
    SDL_RestoreWindow() first. This should allow macOS users to escape
    the weird window size mess it can start in. Still no idea what is
    actually happening there, but this should at least provide an "out"
    now. :(

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