diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2017-11-06 18:25:58 -0600 |
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
| commit | 3bb900cd6c1c7a5364bd79bce63fdd8711bc878b (patch) | |
| tree | 854f906a109a0de83576ee2d8183c1eb4477adf6 /st.c | |
| parent | Make win variable internal to x.c (diff) | |
| download | st-3bb900cd6c1c7a5364bd79bce63fdd8711bc878b.tar.gz 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 '')
| -rw-r--r-- | st.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1747,7 +1747,7 @@ strhandle(void) | |||
| 1747 | 1747 | ||
| 1748 | dec = base64dec(strescseq.args[2]); | 1748 | dec = base64dec(strescseq.args[2]); |
| 1749 | if (dec) { | 1749 | if (dec) { |
| 1750 | xsetsel(dec, CurrentTime); | 1750 | xsetsel(dec); |
| 1751 | xclipcopy(); | 1751 | xclipcopy(); |
| 1752 | } else { | 1752 | } else { |
| 1753 | fprintf(stderr, "erresc: invalid base64\n"); | 1753 | fprintf(stderr, "erresc: invalid base64\n"); |
