summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-03 21:10:26 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-03 21:10:26 +0300
commit940161d95ee7c9e9ef4c6941d3d464d4264a94ad (patch)
tree3aadeb469879df3eeea374a22ee019e30db7fefc /src/utils
parent284458d6c7644159eb14479e9f41127fd400ffdb (diff)
downloadplus-940161d95ee7c9e9ef4c6941d3d464d4264a94ad.tar.gz
plus-940161d95ee7c9e9ef4c6941d3d464d4264a94ad.tar.bz2
plus-940161d95ee7c9e9ef4c6941d3d464d4264a94ad.tar.xz
plus-940161d95ee7c9e9ef4c6941d3d464d4264a94ad.zip
Under X for copy to clipboard use destination clipboard with name "clipboard"
before was "primary" clipboard (mouse clipboard).
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp
index 3e37afd9d..784870e05 100644
--- a/src/utils/copynpaste.cpp
+++ b/src/utils/copynpaste.cpp
@@ -432,7 +432,7 @@ bool sendBuffer(std::string& text)
}
close(fd[0]);
}
- execl("/usr/bin/xsel", "xsel", "-i", (char *)nullptr);
+ execl("/usr/bin/xsel", "xsel", "-b", "-i", (char *)nullptr);
exit(1);
}