Re: [AD] Hardware cursor buglet

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


On Sun, 2005-04-10 at 17:09 -0700, Chris wrote:
> Evert Glebbeek wrote:
> > The attached patch (already applied) fixes a small bug where hardware 
> > cursors would become disabled if show_mouse() was used more than once 
> > without show_mouse(NULL) in between.
> 
> Curious... perhaps this is why the GUI would kill the OS/hardware cursor 
> when a dialog was closed? It made two show_mouse calls (the second when 
> closing), but it was unknown to what the second call tried to set 
> (probably 'screen').
> 
> Perhaps we should try with this patch and without Elias's previous GUI 
> patch.
> 

Hm, makes sense. But in case you use set_gui_screen, the previous patch
still makes sense.. since if a HW cursor is used, you still don't want
the GUI to draw to the gui_screen (if it works as I understand it).

-- 
Elias Pschernig





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