[PATCH 8/8] GLX: support generic swap events