xosd_set_horizontal_offset — Change the horizontal offset of the XOSD window
#include <xosd.h>
int xosd_set_horizontal_offset( | xosd * | osd, |
int | indent) ; |
xosd_set_horizontal_offset changes the number of pixels the XOSD window is indented to the right. This is done to avoid desktop-panels, such as those provided by GNOME or KDE. By default the horizontal indent is zero; a value of 48 will generally avoid most panels.
The XOSD window to change.
The number of pixels the XOSD window is indented to the right.
On success, a zero is returned. On error, -1 is returned and xosd_error is set to indicate the reason for the error.
xosd_set_horizontal_offset was written by Etan Reisner. The XOSD library was originally written by André Renaud, and is currently maintained by Tim Wright. This document was written by Michael JasonSmith.
Currently xosd_set_horizontal_offset does not move the XOSD window left when the window is aligned to the right (XOSD_right) of the display. Bug reports can be sent to <xosd@ignavus.net>.