set_gfx_mode and the mouse
CGamesPlay

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.

Elias

Attached is a simple patch to achieve this for X11.

Andrei Ellman

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.

Thread #590204. Printed from Allegro.cc