BBS:      TELESC.NET.BR
Assunto:  src/conio/x_events.c
De:       Deuc¨
Data:     Mon, 16 Mar 2026 21:37:59 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/13da024834666d43090b0230
Modified Files:
	src/conio/x_events.c
Log Message:
Downscale XWMHints pixmap icon to 32x32 for old WMs (fixes ticket 192)

Some window managers (e.g. xvcsrv) only use the old-style XWMHints
pixmap icon and ignore _NET_WM_ICON.  These WMs typically expect a
32x32 pixmap and clip larger icons, showing only the top-left quadrant.

Downsample the icon to 32x32 using nearest-neighbor when the source
is larger than 32x32.  The full-size icon is still provided via
_NET_WM_ICON for modern WMs.

For nelgin.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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