xosd_set_vertical_offset man page

xosd_set_vertical_offset — Change the offset of the XOSD window

Synopsis

#include <xosd.h>

int xosd_set_vertical_offset (xosd* osd, int offset);

Description

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.

See Also

xosd_init(3xosd), xosd_set_pos(3xosd)

Info

2002-06-25 X OSD Library