[Xcb] xcb_set_screen_saver weird behavior
Josh Triplett
josh at joshtriplett.org
Mon Mar 10 08:41:33 PDT 2014
On Tue, Mar 11, 2014 at 12:32:58AM +0900, Philip Rushik wrote:
> I also see this struct in xcb/xproto.h
>
> typedef struct xcb_set_screen_saver_request_t {
> uint8_t major_opcode; /**< */
> uint8_t pad0; /**< */
> uint16_t length; /**< */
> int16_t timeout; /**< */
> int16_t interval; /**< */
> uint8_t prefer_blanking; /**< */
> uint8_t allow_exposures; /**< */
> } xcb_set_screen_saver_request_t;
>
> Although I can't figure out how or where it is meant to be used as this
> seems to be the only reference to it.
>
> Anybody know what is happening here? What do the parameters of
> xcb_set_screen_saver mean? Is that struct defined but never used?
To answer your last question: that struct defines the layout of the
corresponding X11 request on the wire. It gets used in the generated
code of xcb_set_screen_saver.
- Josh Triplett
More information about the Xcb
mailing list