[Xcb] Library for access to the resource manager

Ingo Bürk admin at airblader.de
Mon Jan 11 01:52:59 PST 2016


Hi everyone,

I noticed that there currently seems to be nothing within the area of
XCB that offers access to the resource manager and its contents. In [1],
Michael Stapelberg also noted that some tools such as cairo-xcb and
xcb-util-cursor currently parse the RESOURCE_MANAGER property of the
root window by hand, which is duplicated work, rather ugly and AFAICT
won't work if the configuration uses wildcards (as allowed by the spec).

We therefore had the idea of writing a library ("xcb-util-xrm") to allow
access to the resource manager contents without having to use Xlib's
Xrm* (X11/Xresources.h). Is this something worth doing – or is there
even already something that I haven't been able to find?

I'd love to get this started, but would also appreciate help / guidance
in terms of setting up the project or anything worthy knowing before
doing so. For the start, I'd like to focus on a (spec conforming) way to
query resources from the database (not anything to modify them). I'd
also appreciate discussions about the API for this, but this is
something for after the work on this started.

[1] https://github.com/i3/i3/issues/2130


Regards
Ingo


More information about the Xcb mailing list