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>
This commit is contained in:
parent
bcb5d3adbe
commit
cfc7acdfd9
3 changed files with 22 additions and 22 deletions
3
st.h
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue