In the xcb crate, all the atoms are constants. But for xcb_util::ewmh, you have to call a function on a xcb_util::ewmh::Connection to access the atoms. Would it be possible to make the EWMH atoms constants, or is this impossible due to a bunch of technical reasons that I don't know about?
In the
xcb
crate, all the atoms are constants. But forxcb_util::ewmh
, you have to call a function on axcb_util::ewmh::Connection
to access the atoms. Would it be possible to make the EWMH atoms constants, or is this impossible due to a bunch of technical reasons that I don't know about?