the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here.

Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here.  Not 5 or 10 depending on the architecture.

More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
This commit is contained in:
Edward Rudd
2015-02-10 16:28:56 -05:00
commit b88ca1b4a6
1638 changed files with 474135 additions and 0 deletions

BIN
test/shapes/p01_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p01_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p02_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p02_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p03_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
test/shapes/p03_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p04_shape1.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
test/shapes/p04_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p04_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p05_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p06_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p06_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p07_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p07_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p08_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p08_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p09_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p09_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p10_shape1.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
test/shapes/p10_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p10_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p11_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p11_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p12_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
test/shapes/p12_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p13_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p13_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p14_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
test/shapes/p14_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p15_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
test/shapes/p15_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

BIN
test/shapes/p16_shape1.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
test/shapes/p16_shape24.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
test/shapes/p16_shape8.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB