[Xcb] XDefineCursor equivalent?

Vincent Torri vtorri at univ-evry.fr
Mon Mar 22 06:41:45 PDT 2010



On Mon, 22 Mar 2010, Julien Danjou wrote:

> Nicholas Allen <nick.allen at onlinehome.de> writes:
>
>> I'm looking for the equivalent to Xlib's XDefineCursor function but
>> can't seem to find it in XCB. I'm not 100% familiar with the X11
>> protocol but would assume that this is a core protocol request as the X
>> server needs to know what mouse cursor to display when the user moves
>> the mouse over a window.
>>
>> Does anyone know how to do this with XCB?
>
> We have some cursor stuff in awesome[1]. Take a look in the source.
>
> Footnotes:
> [1]  http://awesome.naquadah.org

and that :

http://xcb.freedesktop.org/tutorial/mousecursors/

?

Vincent


More information about the Xcb mailing list