https://bugs.freedesktop.org/show_bug.cgi?id=35945
--- Comment #4 from Samuel Rødal <sro...@gmail.com> 2012-01-06 00:01:22 PST --- For the record, here's what the current work-around in Qt looks like: #ifdef XCB_USE_XLIB if (!handled) { // Check if a custom XEvent constructor was registered in xlib for this event type, and call it discarding the constructed XEvent if any. // XESetWireToEvent might be used by libraries to intercept messages from the X server e.g. the OpenGL lib waiting for DRI2 events. Bool (*proc)(Display*, XEvent*, xEvent*) = XESetWireToEvent((Display*)m_xlib_display, response_type, 0); if (proc) { XESetWireToEvent((Display*)m_xlib_display, response_type, proc); XEvent dummy; event->sequence = LastKnownRequestProcessed(m_xlib_display); proc((Display*)m_xlib_display, &dummy, (xEvent*)event); } } #endif -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev