aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2018-02-21 22:56:02 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commit5683b1f80c5ac274adf98517ce2217b4d4896243 (patch)
tree83e79c7f53eb44b6a7e76834dfe234408a7b0495 /st.c
parent138caf294ea4d7968df36ead9d5ff5fc49f6215f (diff)
downloadst-5683b1f80c5ac274adf98517ce2217b4d4896243.tar.gz
st-5683b1f80c5ac274adf98517ce2217b4d4896243.tar.bz2
Move X-specific selection info into XSelection
Data about PRIMARY/CLIPBOARD and clicks are part of the front-end, not the terminal. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/st.c b/st.c
index d4dfe6e..ea0726c 100644
--- a/st.c
+++ b/st.c
@@ -365,13 +365,9 @@ base64dec(const char *src)
void
selinit(void)
{
- clock_gettime(CLOCK_MONOTONIC, &sel.tclick1);
- clock_gettime(CLOCK_MONOTONIC, &sel.tclick2);
sel.mode = SEL_IDLE;
sel.snap = 0;
sel.ob.x = -1;
- sel.primary = NULL;
- sel.clipboard = NULL;
}
int