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>
This commit is contained in:
parent
138caf294e
commit
5683b1f80c
3 changed files with 19 additions and 21 deletions
4
st.c
4
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue