---
name: "gui_mouse_focus"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_mouse_focus/3alleg4"
---

# gui\_mouse\_focus(3alleg4)

Tells if the input focus follows the mouse pointer. Allegro game programming library.

## NAME

gui\_mouse\_focus - Tells if the input focus follows the mouse pointer. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**extern int gui\_mouse\_focus;**

## DESCRIPTION

If set, the input focus follows the mouse pointer around the dialog,  otherwise a click is required to move it.
