Improve X clipboard functionality