DOKK / manpages / debian 12 / allegro4-doc / freeze_mouse_flag.3alleg4.en
freeze_mouse_flag(3alleg4) Allegro manual freeze_mouse_flag(3alleg4)

freeze_mouse_flag - Flag to avoid redrawing the mouse pointer. Allegro game programming library.

#include <allegro.h>

extern volatile int freeze_mouse_flag;

If this flag is set, the mouse pointer won't be redrawn when the mouse moves. This can avoid the need to hide the pointer every time you draw to the screen, as long as you make sure your drawing doesn't overlap with the current pointer position.

show_mouse(3alleg4)

version 4.4.3 Allegro