DOKK / manpages / debian 10 / libxosd-dev / xosd_set_vertical_offset.3.en
xosd_set_vertical_offset(3) Library Functions Manual xosd_set_vertical_offset(3)

xosd_set_vertical_offset - Change the offset of the XOSD window

#include <xosd.h>

int xosd_set_vertical_offset (xosd* osd, int offset);

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.

The on-screen display object to act on.
Offset from the top or bottom of the screen, in pixels.

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

xosd_init(3), xosd_set_pos(3).

2002-06-25 X OSD Library