xosd_set_vertical_offset(3)

xosd_set_vertical_offset3

Change the offset of the xosd window

Usage

#include <xosd.h>

int xosd_set_vertical_offset (xosd* osd, int offset);

Overview

xosd_set_vertical_offset changes the number of pixels the XOSD window is offset from the top or bottom of the screen. This is normally set to a value such as 48 to avoid desktop-panels, such as those provided by GNOME or KDE.

Arguments

osd

The on-screen display object to act on.

offset

Offset from the top or bottom of the screen, in pixels.

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.