X11: Copy to clipboard from current window with copy()