2014-03-29 18:08 GMT+01:00 Igor Stasenko <siguctua@gmail.com>:



On 28 March 2014 22:18, Nicolai Hess <nicolaihess@web.de> wrote:
Yes we have this issue:

12960
Primitive 101 (Cursor beCursor) fails on Ubuntu

we just need someone who can edit the pharo vm build config.


"We just need to enable xrender support in the vm build config"
i haven't seen anything related to 'xrender support' in configs, despite i was one
of those who made those configs originally..� :)
can you elaborate, what exactly you talking about?




2014-03-28 18:52 GMT+01:00 phil@highoctane.be <phil@highoctane.be>:

I moved a windows image with VistaCursors to Linux and the beCursor primitive failed, leading to a white screen opening.

Maybe this is because the cursors are bigger than the 16x16 form.

I saw discussions of this being fixed in Squeak. Are we having this issue in Pharo?

Phil




--
Best regards,
Igor Stasenko.

Thats the problem, no -DHAVE_LIBXRENDER and no -lXrender
(don't know exaclty how this gets enabled, some cmake rules?)

Maybe I choosed the wrong words:
Change the config, so that xrender support gets enabled.

squnixX11.c:

static sqInt display_ioSetCursorARGB(sqInt cursorBitsIndex, sqInt extentX, sqInt extentY, sqInt offsetX, sqInt offsetY)
{
#if defined(HAVE_LIBXRENDER) && (RENDER_MAJOR > 0 || RENDER_MINOR >= 5)
...
return� 1;
#else
return 0;
#endif
}



Nicolai