xosd_set_pos(3)

xosd_set_pos3

Change the position of the xosd window

Usage

#include <xosd.h>

int xosd_set_pos (xosd* osd, xosd_pos pos);

Overview

xosd_set_pos changes the position of the XOSD window, which was initially set when xosd_init(3) was called.

Arguments

osd

The on-screen display object to act on.

pos

One of XOSD_top or XOSD_bottom (for the top or the bottom 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.