freeze_mouse_flag man page
freeze_mouse_flag — Flag to avoid redrawing the mouse pointer. Allegro game programming library.
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.