mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-20 04:48:06 +01:00
The man page of XChangeProperty() says: "If the specified format is 32, the property data must be a long array." And as we call it with format 32, the type of 'data' must be 'long'. It happens to work nowadays in 32-bit architectures because sizeof(CARD32) = sizeof(long), but that is no longer true in 64-bit mode. This patch was downloaded from www.openbsd.org/cgi-bin/cvsweb/ports/x11/windowmaker/patches/patch-WINGs_wwindow_c and I thank Alexey I. Frolov and Vladimir Nadvornik for helping me to understand it on a wmaker-dev thread.
17 KiB
17 KiB