---
name: "gui_mouse_focus"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_mouse_focus"
---

# gui\_mouse\_focus(3alleg)

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.
