[Xcb] Set/GetScreenSaver

Ian Osgood iano at quirkster.com
Wed Jul 26 13:29:46 PDT 2006


---------- Original Message ----------------------------------
From: Vincent Torri <vtorri at univ-evry.fr>
Date:  Wed, 26 Jul 2006 20:06:30 +0200 (CEST)

>
>Hey,
>
>again, a remark :
>
>the timeout member in the XCBGetScreenSaverRep structure is a CARD16, but 
>the function XCBSetScreenSaver requires an INT16.
>
>Is it normal ?
>
>same for interval member.
>
>the members prefer_blanking and allow_exposures have the same types than 
>in the function, but not the same name (BYTE and CARD8)
>
>Vincent
>_______________________________________________
>Xcb mailing list
>Xcb at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/xcb

It's the same as in the old protos (lines 943 and 1946).

http://gitweb.freedesktop.org/?p=xorg-proto-x11proto;a=blob;f=Xproto.h

(I'm guessing the BYTE/CARD8 distinction is a relic of history. It would be nice to 
do away with BYTE.)

Ian 
             


More information about the Xcb mailing list