---
name: "xosd_monitor"
section: "3"
platform: "linux"
package: "libxosd-dev"
version: "2.2.15-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xosd_monitor"
---

# xosd\_monitor(3)

Repositions an xosd object around a specific physical monitor

## NAME

xosd\_monitor - Repositions an xosd object around a specific physical monitor

## SYNOPSIS

int xosd\_monitor(xosd \* osd, int monitor)

## DESCRIPTION

xosd\_monitor uses the provided monitor to shift the osd objects position and alignment information

## ARGUMENTS

- *osd*

  The on-screen display object to modify the monitor assigned. 0

- *monitor*

  The monitor to display the on-screen display object on, starting at 1 up to the number of connected monitors.

## RETURN VALUE

Returns 0 on success, -1 otherwise

## ERRORS

If an error occurs, xosd\_monitor updates xosd\_error, the global error string

## AUTHOR

libXosd team at Western Washington University
