<div dir="ltr">Wow, I've been hoping for something like this for some time.<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 5:08 AM, Daniel Martin <span dir="ltr"><<a href="mailto:consume.noise@gmail.com" target="_blank">consume.noise@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,<br>
<div><br>
On Sat, Jan 05, 2013 at 09:42:43PM +0100, Michael Stapelberg wrote:<br>
> I have ported the relevant bits (for me) of libXcursor to an xcb-only<br>
> library: <a href="http://code.stapelberg.de/git/util-cursor/" target="_blank">http://code.stapelberg.de/git/util-cursor/</a><br>
><br>
> With a simple test program, I can load Xcursor cursors on my root<br>
> window, so it should be ready to be used in window managers like i3 and<br>
> awesome (untested yet).<br>
><br>
> I would love to hear some comments about this, both from a project point<br>
> of view (e.g. where does it fit into the big picture, is “util-cursor” a<br>
> good name, did I do any obvious autotools mistakes, etc.) and from a<br>
> code review point of view.<br>
<br>
</div>I think those __attribute__((packed)) for the structs in cursor.h aren't<br>
necessary as those structs have uint32_t members only. Due to that<br>
they're already aligned to a 4 byte boundary and the packed attribute<br>
doesn't change anything.<br>
<div><br>
> Also it would be cool if you could test it and see if it works with your<br>
> favorite cursor theme, in case you use any ;-):<br>
><br>
> git clone git://<a href="http://code.stapelberg.de/util-cursor" target="_blank">code.stapelberg.de/util-cursor</a><br>
> cd util-cursor<br>
> git submodule update --init<br>
> ./autogen.sh<br>
> make<br>
> sudo make install<br>
><br>
> Thanks for your feedback!<br>
<br>
</div>Thanks for your work. I hope that'll find some time to test it this<br>
evening.<br>
<br>
<br>
Cheers,<br>
    Daniel Martin<br>
<div><div>_______________________________________________<br>
Xcb mailing list<br>
<a href="mailto:Xcb@lists.freedesktop.org" target="_blank">Xcb@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xcb" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xcb</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Praising my Savior all the day long,<div>


Micah Nordland</div>
</div></div>