xosd_set_align(3)

xosd_set_align3

Change the alignment of the xosd window

Usage

#include <xosd.h>

int xosd_set_align (xosd* osd, xosd_align align);

Overview

xosd_set_align changes the alignment of the XOSD window, which is left aligned by default.

Arguments

osd

The on-screen display object to act on.

pos

One of XOSD_left , XOSD_center or XOSD_right (for the left, center or right of the screen respectively).

Return value

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

Releases

12 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–6.0
  2. 7–Arch

From xosd 2.2.14-12 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.