man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2014
 
 

XTSOLIsWindowTrusted(3XTSOL)

Name

XTSOLIsWindowTrusted - test if a window is created by a trusted client

Synopsis

cc [flag...] file... -lX11 -lXtsol [library...]
#include <X11/extensions/Xtsol.h>

Bool XTSOLIsWindowTrusted(display, window);

Display *display;
Window window;

Description

The XTSOLIsWindowTrusted() function tests if a window is created by a trusted client. The window created by a trusted client has a special bit turned on. The client does not require any privilege to perform this operation.

Parameters

display

Specifies a pointer to the Display structure; returned from XOpenDisplay().

window

Specifies the ID of the window to be tested.

Return Values

True

If the window is created by a trusted client.

Errors

BadWindow

Not a valid window.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Unsafe

See also

libXtsol(3LIB), attributes(5)

Notes

The functionality described on this manual page is available only if the system is configured with Trusted Extensions.