• src/conio/x_cio.c x_events.c src/syncterm/syncterm.c

    From Deuc¨@VERT to Git commit to main/sbbs/master on Wed May 24 09:52:09 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/08a78bbcc9dbc732e5239d84
    Modified Files:
    src/conio/x_cio.c x_events.c src/syncterm/syncterm.c
    Log Message:
    A few scaling fixes for X11 mode...

    - getscaling() incorrectly used an int intermediate variable
    This would force scaling to an integer value when read.
    - Only parse ConfigureNotify events describing a change to the SyncTERM window
    It appears that XWayland on ChromeOS was occasionally sending a
    ConfigureNotify event describing some other window to SyncTERM,
    and that window had a 1x1 size, which would cause SyncTERM to
    assert minimum size again (usually 640x480), which would set
    scaling to 1.0.

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