• src/conio/cg_events.m wl_events.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wed Mar 18 22:39:05 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/56b1dd90e94038173e3fd0b8
    Modified Files:
    src/conio/cg_events.m wl_events.c
    Log Message:
    Fix Wayland and Quartz backends not restoring saved scaling

    bitmap_drv_init_mode() resets vstat.scaling to 1 on the first call
    because vstat.winwidth/winheight are still zero (os=0 diagonal).
    The initial scaling set before init_mode was lost. Re-apply ciolib_initial_scaling and recompute winwidth/winheight after bitmap_drv_init_mode returns, matching what the X11 backend does
    in init_window().

    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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