[PATCH] GLX/DRI2: fix swap complete handling