On Thu, 2014-09-11 at 18:13 -0700, Keith Packard wrote: > Adam Jackson <[email protected]> writes: > > + cursor_pxm = xcb_generate_id(HostX.conn); > > + xcb_create_pixmap(HostX.conn, 1, cursor_pxm, HostX.winroot, 1, 1); > > + HostX.empty_cursor = xcb_generate_id(HostX.conn); > > + xcb_create_cursor(HostX.conn, > > + HostX.empty_cursor, > > + cursor_pxm, cursor_pxm, > > + 0,0,0, > > + 0,0,0, > > + 1,1); > > + xcb_free_pixmap(HostX.conn, cursor_pxm); > > Sadly, pixmap contents are not defined on creation. So, you'll have to > actually clear this thing. Create a GC, set foreground to zero and fill > rectangle (or draw a point; it's all the same :-)
I refuse to take the blame for code I merely outdented, but I suppose I do still need to fix it. v3 in a moment. - ajax _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
