xwindow clipboard function