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

    From Deucе@VERT to Git commit to main/sbbs/master on Tue Mar 16 10:25:50 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/e2f5762b2de6117b5701a9c0
    Modified Files:
    src/conio/sdl_con.c sdlfuncs.c sdlfuncs.h
    Log Message:
    Don't allow ALT-Direction to work when maximized

    With maximized windows, unexpected behaviour occured when the program
    resized itself, then the window manager minimized/restored the window
    Should address SF bugs #18 and #13

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • 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