Re: [AD] Using system mouse cursor

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> This makes me wonder.. how hard would it be to make the hardware cursor
> be the X11 cursor?

Trivial, actually - just an extra function call. I'm going to add that
functionality once my Windows version of a similar idea starts to behave
(for some reason, I can't mask out certain areas of the HBITMAPs, no matter
what I do... if I can't sort this out, I'm going to ask for some help on
this one).

> I think that would be very useful, especially for
> windowed apps. And it would give enable_hardware_cursor a real purpose,
> besides changing how the cursor is handled internally.

It has a purpose anyway: you no longer care about scaring the mouse, as the
window manager does this for us.

> (And of course,
> switching to warped mode would have to be completely disabled as long
> as it is enabled.)

It is with that patch (meaning mickeys don't work properly as long as the
hardware cursor is being displayed).

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/