glXGetSelectedEvent.3G man page

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

C Specification

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

Parameters

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

glXSelectEvent(), glXCreatePbuffer()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual