[PATCH xrandr-utils 0/6] Refactor xrandr internals into libxrandr-utils

Bryce Harrington bryce at canonical.com
Thu Dec 22 18:11:22 PST 2011


On Wed, Dec 21, 2011 at 07:58:09PM -0800, Jamey Sharp wrote:
> On Wed, Dec 21, 2011 at 06:47:07PM -0800, Bryce Harrington wrote:
> > Begin refactoring the xrandr command line tool's internals into a
> > utility library.  This is to provide a higher level abstraction for
> > configuring multiple monitors.
> > 
> > With the coming complexities of hybrid graphics, >2 heads, and so on, it
> > will hopefully save headaches all around to have a central place for the
> > configuration logic, rather than duplicated across Qt, gtk, and other
> > client-side tools.
> 
> I'm entirely in favor of this goal. But I'd really like to see
> newly-developed X library APIs exposed as pure XCB APIs at this point.
> Pretty much everyone is shipping Xlib/XCB now, so it's no hardship for
> higher-layer Xlib-based code to call XCB-only libraries, and doing it
> now saves us having to migrate callers later.

Would this require changes to libXrandr, since libXrandrUtils is
intended to wrapper that library?  If not, I'd need some guidance but
would be willing to give it a shot.

Bryce




More information about the xorg-devel mailing list