DOKK / manpages / debian 12 / libxosd-dev / xosd_set_pos.3.en
xosd_set_pos(3) Library Functions Manual xosd_set_pos(3)

xosd_set_pos - Change the position of the XOSD window

#include <xosd.h>

int xosd_set_pos (xosd* osd, xosd_pos pos);

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

The on-screen display object to act on.
One of XOSD_top or XOSD_bottom (for the top or the bottom of the screen respectively).

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

xosd_init(3), xosd_set_offset(3).

2002-06-25 X OSD Library