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

    From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, March 16, 2021 10:25:50
    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 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