- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# XCB ScreenSaver API

ScreenSaver XCB Protocol Implementation. More...

## Data Structures
struct | xcb_screensaver_query_version_cookie_t
| xcb_screensaver_query_version_cookie_t More...
struct | xcb_screensaver_query_version_request_t
| xcb_screensaver_query_version_request_t More...
struct | xcb_screensaver_query_version_reply_t
| xcb_screensaver_query_version_reply_t More...
struct | xcb_screensaver_query_info_cookie_t
| xcb_screensaver_query_info_cookie_t More...
struct | xcb_screensaver_query_info_request_t
| xcb_screensaver_query_info_request_t More...
struct | xcb_screensaver_query_info_reply_t
| xcb_screensaver_query_info_reply_t More...
struct | xcb_screensaver_select_input_request_t
| xcb_screensaver_select_input_request_t More...
struct | xcb_screensaver_set_attributes_request_t
| xcb_screensaver_set_attributes_request_t More...
struct | xcb_screensaver_unset_attributes_request_t
| xcb_screensaver_unset_attributes_request_t More...
struct | xcb_screensaver_suspend_request_t
| xcb_screensaver_suspend_request_t More...
struct | xcb_screensaver_notify_event_t
| xcb_screensaver_notify_event_t More...
## Defines
#define | XCB_SCREENSAVER_MAJOR_VERSION 1
#define | XCB_SCREENSAVER_MINOR_VERSION 1
#define | XCB_SCREENSAVER_QUERY_VERSION 0
#define | XCB_SCREENSAVER_QUERY_INFO 1
#define | XCB_SCREENSAVER_SELECT_INPUT 2
#define | XCB_SCREENSAVER_SET_ATTRIBUTES 3
#define | XCB_SCREENSAVER_UNSET_ATTRIBUTES 4
#define | XCB_SCREENSAVER_SUSPEND 5
#define | XCB_SCREENSAVER_NOTIFY 0
## Enumerations
enum | xcb_screensaver_kind_t { XCB_SCREENSAVER_KIND_BLANKED, XCB_SCREENSAVER_KIND_INTERNAL, XCB_SCREENSAVER_KIND_EXTERNAL }
enum | xcb_screensaver_event_t { XCB_SCREENSAVER_EVENT_NOTIFY_MASK = (1 << 0), XCB_SCREENSAVER_EVENT_CYCLE_MASK = (1 << 1) }
enum | xcb_screensaver_state_t { XCB_SCREENSAVER_STATE_OFF, XCB_SCREENSAVER_STATE_ON, XCB_SCREENSAVER_STATE_CYCLE, XCB_SCREENSAVER_STATE_DISABLED }
## Functions
xcb_screensaver_query_version_cookie_t | xcb_screensaver_query_version (xcb_connection_t *c, uint8_t client_major_version, uint8_t client_minor_version)
xcb_screensaver_query_version_cookie_t | xcb_screensaver_query_version_unchecked (xcb_connection_t *c, uint8_t client_major_version, uint8_t client_minor_version)
xcb_screensaver_query_version_reply_t * | xcb_screensaver_query_version_reply (xcb_connection_t *c, xcb_screensaver_query_version_cookie_t cookie, xcb_generic_error_t **e)
xcb_screensaver_query_info_cookie_t | xcb_screensaver_query_info (xcb_connection_t *c, xcb_drawable_t drawable)
xcb_screensaver_query_info_cookie_t | xcb_screensaver_query_info_unchecked (xcb_connection_t *c, xcb_drawable_t drawable)
xcb_screensaver_query_info_reply_t * | xcb_screensaver_query_info_reply (xcb_connection_t *c, xcb_screensaver_query_info_cookie_t cookie, xcb_generic_error_t **e)
xcb_void_cookie_t | xcb_screensaver_select_input_checked (xcb_connection_t *c, xcb_drawable_t drawable, uint32_t event_mask)
xcb_void_cookie_t | xcb_screensaver_select_input (xcb_connection_t *c, xcb_drawable_t drawable, uint32_t event_mask)
xcb_void_cookie_t | xcb_screensaver_set_attributes_checked (xcb_connection_t *c, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint8_t _class, uint8_t depth, xcb_visualid_t visual, uint32_t value_mask, const uint32_t *value_list)
xcb_void_cookie_t | xcb_screensaver_set_attributes (xcb_connection_t *c, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint8_t _class, uint8_t depth, xcb_visualid_t visual, uint32_t value_mask, const uint32_t *value_list)
xcb_void_cookie_t | xcb_screensaver_unset_attributes_checked (xcb_connection_t *c, xcb_drawable_t drawable)
xcb_void_cookie_t | xcb_screensaver_unset_attributes (xcb_connection_t *c, xcb_drawable_t drawable)
xcb_void_cookie_t | xcb_screensaver_suspend_checked (xcb_connection_t *c, uint8_t suspend)
xcb_void_cookie_t | xcb_screensaver_suspend (xcb_connection_t *c, uint8_t suspend)
## Variables
xcb_extension_t | xcb_screensaver_id

## Detailed Description

ScreenSaver XCB Protocol Implementation.

## Define Documentation

#define XCB_SCREENSAVER_NOTIFY 0

Opcode for xcb_screensaver_notify.

#define XCB_SCREENSAVER_QUERY_INFO 1

Opcode for xcb_screensaver_query_info.

#define XCB_SCREENSAVER_QUERY_VERSION 0

Opcode for xcb_screensaver_query_version.

#define XCB_SCREENSAVER_SELECT_INPUT 2

Opcode for xcb_screensaver_select_input.

#define XCB_SCREENSAVER_SET_ATTRIBUTES 3

Opcode for xcb_screensaver_set_attributes.

#define XCB_SCREENSAVER_SUSPEND 5

Opcode for xcb_screensaver_suspend.

#define XCB_SCREENSAVER_UNSET_ATTRIBUTES 4

Opcode for xcb_screensaver_unset_attributes.