SysTutorials

Linux Manual Pages › Section 3

xcb_force_screen_saver(3)

xcb_force_screen_saver –

Synopsis

#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_force_screen_saver(xcb_connection_t *conn, uint8_t mode);

Request Arguments

conn
The XCB connection to X11.
mode
One of the following values:
XCB_SCREEN_SAVER_RESET
TODO: NOT YET DOCUMENTED.
XCB_SCREEN_SAVER_ACTIVE
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.

Description

Return Value

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.

If you want to handle errors directly with xcb_request_check instead, use xcb_force_screen_saver_checked. See xcb-requests(3) for details.

Errors

This request does never generate any errors.

See Also

Author

Generated from xproto.xml. Contact xcb [at] lists.freedesktop.org for corrections and improvements.