diff options
| author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-21 22:56:02 -0600 |
|---|---|---|
| committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
| commit | 5683b1f80c5ac274adf98517ce2217b4d4896243 (patch) | |
| tree | 83e79c7f53eb44b6a7e76834dfe234408a7b0495 /st.c | |
| parent | Have selected() check whether selection exists (diff) | |
| download | st-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -365,13 +365,9 @@ base64dec(const char *src) | |||
| 365 | void | 365 | void |
| 366 | selinit(void) | 366 | selinit(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 | ||
| 377 | int | 373 | int |
