XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT_UNCHECKED(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– xcb_x_print_print_get_screen_of_context πŸ’–

okay bestie, welcome to the XCB Requests section 3 era of your life πŸŽ€ this one lives in xcb/xprint.h and it's giving "ask the X server which screen this print context is on" energy. no cap.


✨ NAME ✨

xcb_x_print_print_get_screen_of_context β€” literally no description in the original, it just vibes there being mysterious πŸ™ˆ


🌸 SYNOPSIS 🌸

#include <xcb/xprint.h>

πŸ¦‹ Request function

xcb_x_print_print_get_screen_of_context_cookie_t
       xcb_x_print_print_get_screen_of_context(xcb_connection_t *conn,

🧚 Reply datastructure

typedef struct xcb_x_print_print_get_screen_of_context_reply_t {
    uint8_t      response_type;
    uint8_t      pad0;
    uint16_t     sequence;
    uint32_t     length;
    xcb_window_t root;
} xcb_x_print_print_get_screen_of_context_reply_t;

πŸ’« Reply function

xcb_x_print_print_get_screen_of_context_reply_t
       *xcb_x_print_print_get_screen_of_context_reply(xcb_connection_t *conn,
       xcb_x_print_print_get_screen_of_context_cookie_t cookie,
       xcb_generic_error_t **e);

🫢 REQUEST ARGUMENTS 🫢

  • conn β€” your XCB connection to X11, the main character of every single one of these functions fr fr πŸ’…

πŸ‘‘ REPLY FIELDS πŸ‘‘

  • response_type β€” the type of this reply, which in this case is XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT. this field is also hanging out in the xcb_generic_reply_t, so you can use it to tell your replies apart from each other when they're all piled up in the group chat ✨
  • sequence β€” the sequence number of the last request the X11 server actually processed πŸ”’
  • length β€” the length of the reply, measured in words. and yes bestie, a word here is 4 bytes, that's just the lore πŸ“
  • root β€” TODO: NOT YET DOCUMENTED. the original literally says this, we're not making it up πŸ™ˆ

🌈 DESCRIPTION 🌈

okay so. there is no description. the original left this section completely blank. it's giving "the void stared back". we respect the silence πŸ’€

⭐ RETURN VALUE ⭐

Returns an xcb_x_print_print_get_screen_of_context_cookie_t πŸͺ (yes, a cookie, iconic behavior).

Errors have to be handled when you call the reply function xcb_x_print_print_get_screen_of_context_reply.

If you'd rather handle errors in the event loop instead, use xcb_x_print_print_get_screen_of_context_unchecked. See xcb-requests(3) for the details, bestie, it's all in there πŸ“–


πŸ’€ ERRORS πŸ’€

This request does never generate any errors. not one. zero. slay. periodt. πŸ’…βœ¨


πŸŽ€ SEE ALSO πŸŽ€

nothing here either. the original lists no references. empty. a whole vibe. πŸ¦‹

πŸ’œ AUTHOR πŸ’œ

Generated from xprint.xml. Contact xcb@lists.freedesktop.org for corrections and improvements πŸ“§


and that's the whole page, bestie!! X Version 11, libxcb 1.17.0, mwah πŸ’‹ go forth and get that screen of context, i believe in you 🫢✨