X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Fxscreensaver-command.c;h=5ec74417b4dee28b1432f2755cdb23bad11a378e;hb=de460e831dc8578acfa8b72251ab9346c99c1f96;hp=a267f4e7538659fec2a1cc15a984f342bbd2a296;hpb=ffd8c0873576a9e3065696a624dce6b766b77062;p=xscreensaver diff --git a/driver/xscreensaver-command.c b/driver/xscreensaver-command.c index a267f4e7..5ec74417 100644 --- a/driver/xscreensaver-command.c +++ b/driver/xscreensaver-command.c @@ -1,4 +1,4 @@ -/* xscreensaver-command, Copyright (c) 1991-2004 Jamie Zawinski +/* xscreensaver-command, Copyright (c) 1991-2008 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -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 -