BBS: TELESC.NET.BR Assunto: src/conio/wl_events.c De: Deuc¨ Data: Thu, 30 Apr 2026 00:47:11 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/d03d9cc69eb9f9de1c59d9c2 Modified Files: src/conio/wl_events.c Log Message: SyncTERM: drive Wayland toplevel resize when content size changes update_surface_size was setting wp_viewport's destination but never hinting the new content rect to the compositor. When a text mode change shrank the viewport below the toplevel's last-configured size (e.g. terminal mode dialing directory after Alt-H disconnect), the viewport occupied a sub-rect and the rest of the toplevel was painted by the compositor transparent black, ticket 246's "screen blacks out" symptom. Add xdg_surface_set_window_geometry alongside the viewport update so floating compositors snap the toplevel to the new mode's natural integer-multiple size. Tiled compositors keep their layout-imposed size either way. Maybe fixes ticket 246. Co-Authored-By: Claude Opus 4.7 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]