[PATCH] Pack swap complete bits into an XEvent