---
name: "xosd_hide"
section: "3"
platform: "linux"
package: "xosd"
version: "2.2.14-12"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xosd_hide"
---

# xosd\_hide(3)

hide the XOSD window

## NAME

xosd\_hide - hide the XOSD window

## SYNOPSIS

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

**int xosd\_hide (xosd\*** *osd***);**

## DESCRIPTION

**xosd\_hide** hides (unmaps) the *xosd* window. Call  [**xosd\_show**(3)](/xosd_show/3.md) to make the window visible again.

When  **xosd\_display***(3)* is called data will be shown until the pre-set time has elapsed. By calling **xosd\_hide** the window is prematurely removed from the display.

## ARGUMENTS

- *osd*

  The on-screen display object to act on.

## RETURN VALUE

On success, a zero is returned. On error, -1 is returned.

## SEE ALSO

**xosd\_init**(3), [**xosd\_display**(3)](/xosd_display/3.md), [**xosd\_show**(3)](/xosd_show/3.md).
