Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » set_gfx_mode and the mouse

This thread is locked; no one can reply to it. rss feed Print
set_gfx_mode and the mouse
CGamesPlay
Member #2,559
July 2002
avatar

I'm told by Elias that set_gfx_mode is hiding the mouse cursor. We agree that this is bad behavior, and should instead take place in install_mouse. The logic is that one does not want his mouse to be hidden when hovering over an Allegro window that does not use the mouse.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Elias
Member #358
May 2000

Attached is a simple patch to achieve this for X11.

--
"Either help out or stop whining" - Evert

Andrei Ellman
Member #3,434
April 2003

I notice a similar problem in Windows windowed modes when the Allegro window does use the mouse. When I'm using the hardware cursor. It is invisible until the mouse is moved. See this thread for more details.

AE.

--
Don't let the illegitimates turn you into carbon.

Go to: