[RFC] [PATCH 0/8] XResource extension v1.2 implementation of XResQueryResourceBytes

Tiago Vignatti tiago.vignatti at nokia.com
Wed Dec 29 08:11:07 PST 2010


On Mon, Dec 27, 2010 at 04:56:54PM +0200, ext Erkki Sepp�l� wrote:
> These patches against xserver and xlib implement the request
> XResQueryResourceBytes of the XRESproto extension v1.2. This work
> continues on the previous version posted to the list:
> <1291373094-19593-2-git-send-email-erkki.seppala at vincit.fi> .
> 
> The code is available from the master branches of these as well:
> 
>    http://gitorious.org/erkkise/xserver-xresources
>    http://gitorious.org/erkkise/libxres-xresources
>    http://gitorious.org/erkkise/x11proto-resource
>    http://gitorious.org/erkkise/xres-test

I just implemented the PID tracking for X clients on xrestop:
http://people.freedesktop.org/~vignatti/0001-Implement-client-PID-tracking-using-XRes.patch

Instead XResQueryClientIds to collect all clients information again (that was
being done in XResQueryClients), I was expecting a library call like 
XResGetClientPid but using XResClient then. IOW, I'm afraid we should squash
the info inside XResClientIdType together with XResClient, so we could fetch
all the pretty information in a single library call. This would lost in some
way the backwards compatibility though. What do you think?


Thanks for the good work Erkki! 

             Tiago


More information about the xorg-devel mailing list