GLXGETSELECTEDEVENT(3G)

NAME
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()

COPYRIGHT

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

AUTHORS

opengl.org