diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2018-02-21 23:54:29 -0600 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2018-02-25 21:53:24 -0600 |
commit | cfc7acdfd923924ae150a32061fb95987697b159 (patch) | |
tree | 81b6e86f3f21c1263c58880ccc0e45ac885cf627 /st.h | |
parent | bcb5d3adbe57ead05a829e5144c2ba1dc465865f (diff) | |
download | st-patched-cfc7acdfd923924ae150a32061fb95987697b159.tar.bz2 st-patched-cfc7acdfd923924ae150a32061fb95987697b159.tar.xz st-patched-cfc7acdfd923924ae150a32061fb95987697b159.zip |
Move remaining selection mode logic into selextend
The "done" parameter indicates a change which finalizes the selection
(e.g. a mouse button release as opposed to motion).
Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
Diffstat (limited to 'st.h')
-rw-r--r-- | st.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -184,7 +184,7 @@ void resettitle(void); | |||
184 | void selclear(void); | 184 | void selclear(void); |
185 | void selinit(void); | 185 | void selinit(void); |
186 | void selstart(int, int, int); | 186 | void selstart(int, int, int); |
187 | void selextend(int, int, int); | 187 | void selextend(int, int, int, int); |
188 | void selnormalize(void); | 188 | void selnormalize(void); |
189 | int selected(int, int); | 189 | int selected(int, int); |
190 | char *getsel(void); | 190 | char *getsel(void); |
@@ -198,7 +198,6 @@ char *xstrdup(char *); | |||
198 | 198 | ||
199 | /* Globals */ | 199 | /* Globals */ |
200 | extern Term term; | 200 | extern Term term; |
201 | extern Selection sel; | ||
202 | extern int cmdfd; | 201 | extern int cmdfd; |
203 | extern pid_t pid; | 202 | extern pid_t pid; |
204 | extern int oldbutton; | 203 | extern int oldbutton; |