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.zip
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)
365void 365void
366selinit(void) 366selinit(void)
367{ 367{
368 clock_gettime(CLOCK_MONOTONIC, &sel.tclick1);
369 clock_gettime(CLOCK_MONOTONIC, &sel.tclick2);
370 sel.mode = SEL_IDLE; 368 sel.mode = SEL_IDLE;
371 sel.snap = 0; 369 sel.snap = 0;
372 sel.ob.x = -1; 370 sel.ob.x = -1;
373 sel.primary = NULL;
374 sel.clipboard = NULL;
375} 371}
376 372
377int 373int