BBS:      TELESC.NET.BR
Assunto:  src/conio/cg_events.m wl_events.c
De:       Deuc¨
Data:     Wed, 18 Mar 2026 22:39:05 -0700
-----------------------------------------------------------
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) 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]