Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xclipfrom
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ proc handleSelection {offset maxChars} {
# Grab the current clipboard contents from the *other* display.
# I would rather do this without fork/execing a subprocess, but I
# couldn't find a way to make tcl/tk talk to two X11 servers at once.
catch {exec xclip -display $otherDisplay -selection CLIPBOARD -o} result
catch {exec -keepnewline xclip -display $otherDisplay -selection CLIPBOARD -o} result
return $result
}

Expand Down