[PATCH 2/2] xfixes: Use list.h macros in tracking hide count

Kristian Høgsberg krh at bitplanet.net
Mon Jun 14 08:24:16 PDT 2010


On Mon, Jun 14, 2010 at 10:56 AM, Tiago Vignatti
<tiago.vignatti at nokia.com> wrote:
> On Mon, Jun 14, 2010 at 03:25:23PM +0200, ext Kristian H�gsberg wrote:
>>
>> This is not a patch to be applied.
>
> why not?! :)

Oh, I mentioned this in my first attempt to send out these patches
(which git send-mail threw away when it couldn't find an smtp server).
 I don't think it makes sense to go through the server and replace
existing linked list code.  That code is already written and tested,
and replacing it can only break stuff.  The patch was just meant to
illustrate how list.h easily pays for itself once you need to do
something more advanced than prepending or iterating through the list.
 You know, just in case Keith got tempted to rewrite more list.h users
to open coded lists.

Kristian


More information about the xorg-devel mailing list