[PATCH] General X11 selection cleanup.