---
name: "al_ungrab_mouse"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_ungrab_mouse"
---

# al\_ungrab\_mouse(3)

Allegro 5 API

## NAME

al\_ungrab\_mouse - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  bool al_ungrab_mouse(void)
  ```

## DESCRIPTION

Stop confining the mouse cursor to any display belonging to the program.

*Note:* not yet implemented on Mac OS X.

## SEE ALSO

[al\_grab\_mouse(3)](/al_grab_mouse/3.md)
