diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-19 09:37:07 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-19 09:37:38 -0400 |
commit | 3750ebd540510324ef5ada769537ae05309adadb (patch) | |
tree | 7c132086ed4e029a9f552ad100db6248f51e089b /src/glx/glxclient.h | |
parent | 4eaf591d1504f61e131f77f01711d27a75d02e90 (diff) |
glx: Fix drawable lookup in DRI2 event handler
DRI2 events are sent to the X drawable ID used to create the DRI2 drawable,
not the GLX drawable ID. So when an event comes in, we need to look up
the __GLXDRIdrawable by its X drawable ID, which needs a new hash table.
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 49f31a16fec..ef46a399281 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -650,6 +650,8 @@ struct __GLXdisplayPrivateRec #endif }; +extern __GLXDRIdrawable * +dri2GetGlxDrawableFromXDrawableId(Display *dpy, XID id); extern GLubyte *__glXFlushRenderBuffer(__GLXcontext *, GLubyte *); |