I'm trying to write a fullscreen application with xcb for my own edification and I'm having trouble with the above. I've found a couple pieces of code that do this using Xlib, but none with xcb. I've found the xcb_ewmh_connection_t
structure and I'm tentatively using it like this:
xcb_connection_t *Connection = xcb_connect(NULL, NULL);
xcb_ewmh_connection_t EWMH;
xcb_intern_atom_cookie_t *EWMHCookie = xcb_ewmh_init_atoms(Connection, &EWMH);
and then using the atoms inside the structure with EWMH._NET_WM_STATE
, etc.
Given this little background, how can I go about hinting the window manager that the window should be fullscreen?