aboutsummaryrefslogtreecommitdiff
path: root/st.h
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2018-02-21 23:54:29 -0600
committerDevin J. Pohly <djpohly@gmail.com>2018-02-25 21:53:24 -0600
commitcfc7acdfd923924ae150a32061fb95987697b159 (patch)
tree81b6e86f3f21c1263c58880ccc0e45ac885cf627 /st.h
parentbcb5d3adbe57ead05a829e5144c2ba1dc465865f (diff)
downloadst-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.h b/st.h
index c5ff5cf..a34e31c 100644
--- a/st.h
+++ b/st.h
@@ -184,7 +184,7 @@ void resettitle(void);
184void selclear(void); 184void selclear(void);
185void selinit(void); 185void selinit(void);
186void selstart(int, int, int); 186void selstart(int, int, int);
187void selextend(int, int, int); 187void selextend(int, int, int, int);
188void selnormalize(void); 188void selnormalize(void);
189int selected(int, int); 189int selected(int, int);
190char *getsel(void); 190char *getsel(void);
@@ -198,7 +198,6 @@ char *xstrdup(char *);
198 198
199/* Globals */ 199/* Globals */
200extern Term term; 200extern Term term;
201extern Selection sel;
202extern int cmdfd; 201extern int cmdfd;
203extern pid_t pid; 202extern pid_t pid;
204extern int oldbutton; 203extern int oldbutton;