X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxscreensaver-command.c;h=a74b0c1b86e37fab4431dce7ca8814267b641793;hb=0d6b320def9180cf907ceaed56b23a972a11b757;hp=fe08d2ea640a8efbe005a9576f4d688853c26055;hpb=2d04c4f22466851aedb6ed0f2919d148f726b889;p=xscreensaver diff --git a/driver/xscreensaver-command.c b/driver/xscreensaver-command.c index fe08d2ea..a74b0c1b 100644 --- a/driver/xscreensaver-command.c +++ b/driver/xscreensaver-command.c @@ -23,7 +23,7 @@ # include #endif -#include /* for CARD32 */ +/* #include / * for CARD32 */ #include #include #include /* for XGetClassHint() */ @@ -31,6 +31,14 @@ #include /* only needed to get through xscreensaver.h */ + +/* You might think that to read an array of 32-bit quantities out of a + server-side property, you would pass an array of 32-bit data quantities + into XGetWindowProperty(). You would be wrong. You have to use an array + of longs, even if long is 64 bits (using 32 of each 64.) + */ +typedef long PROP32; + #include "remote.h" #include "version.h" @@ -95,9 +103,8 @@ usage: %s -