---
name: "al_ungrab_mouse"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_ungrab_mouse/3alleg5"
---

# al\_ungrab\_mouse(3alleg5)

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(3alleg5)
