aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2017-11-06 18:25:58 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit3bb900cd6c1c7a5364bd79bce63fdd8711bc878b (patch)
tree854f906a109a0de83576ee2d8183c1eb4477adf6 /st.c
parent323d38da20c8a1d295ab1dbc0fc7ce947ef824e1 (diff)
downloadst-3bb900cd6c1c7a5364bd79bce63fdd8711bc878b.tar.gz
st-3bb900cd6c1c7a5364bd79bce63fdd8711bc878b.tar.bz2
st-3bb900cd6c1c7a5364bd79bce63fdd8711bc878b.zip
Remove Time argument from xsetsel
This is an X type and should be internal to x.c. The selcopy() function was a single line and only used in one place, so it was inlined to reduce LOC. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index fdf697b..bcb6473 100644
--- a/st.c
+++ b/st.c
@@ -1747,7 +1747,7 @@ strhandle(void)
dec = base64dec(strescseq.args[2]);
if (dec) {
- xsetsel(dec, CurrentTime);
+ xsetsel(dec);
xclipcopy();
} else {
fprintf(stderr, "erresc: invalid base64\n");