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-cfc7acdfd923924ae150a32061fb95987697b159.tar.gz
st-cfc7acdfd923924ae150a32061fb95987697b159.tar.bz2
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);
void selclear(void);
void selinit(void);
void selstart(int, int, int);
-void selextend(int, int, int);
+void selextend(int, int, int, int);
void selnormalize(void);
int selected(int, int);
char *getsel(void);
@@ -198,7 +198,6 @@ char *xstrdup(char *);
/* Globals */
extern Term term;
-extern Selection sel;
extern int cmdfd;
extern pid_t pid;
extern int oldbutton;