NAME
xcbrandrgetoutputprimary - SYNOPSIS
#include
Request function xcbrandrgetoutputprimarycookiet xcbrandrgetoutputprimary(xcbconnectiont *conn, xcbwindowt window); Reply datastructure typedef struct xcbrandrgetoutputprimaryreplyt { uint8t responsetype; uint8t pad0; uint16t sequence; uint32t length; xcbrandroutputt output; } xcbrandrgetoutputprimaryreplyt; Reply function xcbrandrgetoutputprimaryreplyt *xcbrandrgetoutputprimaryreply(xcbconnectiont *conn, xcbrandrgetoutputprimarycookiet cookie, xcbgenericerrort **e); REQUEST ARGUMENTS conn The XCB connection to X11. window TODO: NOT YET DOCUMENTED. REPLY FIELDS responsetype The type of this reply, in this case XCBRANDRGETOUT‐ PUTPRIMARY. This field is also present in the xcbgener‐ icreplyt and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). output TODO: NOT YET DOCUMENTED. DESCRIPTION RETURN VALUE Returns an xcbrandrgetoutputprimarycookiet. Errors have to be handled when calling the reply function xcbrandrgetoutputprima‐ ryreply. If you want to handle errors in the event loop instead, use xcbran‐ drgetoutputprimaryunchecked. See xcb-requests(3) for details. ERRORS This request does never generate any errors. SEE ALSO AUTHOR Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐ tions and improvements. X Version 11 libxcb 1.13 xcbrandrgetoutputprimary(3)