glXGetSelectedEvent

returns GLX events that are selected for a window or a GLX pixel buffer

Signature

glXGetSelectedEvent( Display * ( dpy ) , GLXDrawable ( draw ) , unsigned long * ( event_mask ) )-> void
glXGetSelectedEvent( dpy , draw , event_mask )

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
draw
Specifies a GLX drawable. Must be a GLX pixel buffer or a window.
event_mask
Returns the events that are selected for draw .

Description

glXGetSelectedEvent returns in event_mask the events selected for draw .

Notes

glXGetSelectedEvent is available only if the GLX version is 1.3 or greater.
If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

Errors

GLXBadDrawable is generated if draw is not a valid window or a valid GLX pixel buffer.

See Also