glXGetSelectedEvent.3G man page
glXGetSelectedEvent — returns GLX events that are selected for a window or a GLX pixel buffer
void glXGetSelectedEvent(Display * dpy, GLXDrawable draw, unsigned long * event_mask);
Specifies the connection to the X server.
Specifies a GLX drawable. Must be a GLX pixel buffer or a window.
Returns the events that are selected for draw.
glXGetSelectedEvent returns in event_mask the events selected for draw.
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.
GLXBadDrawable is generated if draw is not a valid window or a valid GLX pixel buffer.
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/.