char *xosd_error
A string to a text string describing the error, if one occurred.
Returns wether the xosd window is shown
#include <xosd.h>
xosd *xosd_is_onscreen (xosd *osd);
osd_is_onscreen determines weather a XOSD window, is currently being shown (is mapped to the X display). Because XOSD displays data asynchronously (see xosd_display(3) for details) it can be difficult to know if data is being displayed, xosd_is_onscreen solves this problem.
Call xosd_show(3) or xosd_hide(3) to alter the visibility of the XOSD window.
The XOSD window to query.
A 1 is returned if the window is onscreen (mapped), or 0 if it is hidden (unmapped). On error, -1 is returned and xosd_error is set to indicate the reason for the error.
char *xosd_error
A string to a text string describing the error, if one occurred.
12 releases since Debian 3.1 (Sarge); the text changed 2 times.