X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxscreensaver-command.c;h=f068b54cc1e267fab2f69db64fad3e491700b42d;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hp=a267f4e7538659fec2a1cc15a984f342bbd2a296;hpb=ffd8c0873576a9e3065696a624dce6b766b77062;p=xscreensaver diff --git a/driver/xscreensaver-command.c b/driver/xscreensaver-command.c index a267f4e7..f068b54c 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" @@ -57,7 +65,7 @@ static char *usage = "\n\ usage: %s -