H
halfmaddad
Hi Everyone
I have encountered this snippet of code:
screen = xcb_setup_roots_iterator (xcb_get_setup (c)).data;
Is this correct, the results from xcb_get_setup are fed to xcb_setup_roots_iterator and the result from this is a struct. And this struct's "data" member is then assigned to screen ?
Thanks for reading-Patrick
I have encountered this snippet of code:
screen = xcb_setup_roots_iterator (xcb_get_setup (c)).data;
Is this correct, the results from xcb_get_setup are fed to xcb_setup_roots_iterator and the result from this is a struct. And this struct's "data" member is then assigned to screen ?
Thanks for reading-Patrick