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

    From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, September 22, 2024 22:46:08
    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 Saturday, October 19, 2024 11:17:33
    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