aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 67ba8d5..1474c53 100644
--- a/st.c
+++ b/st.c
@@ -292,10 +292,10 @@ static void brelease(XEvent *e) {
if(sel.bx==sel.ex && sel.by==sel.ey) {
sel.bx = -1;
if(b==2)
- clipboard_paste();
+ selpaste();
} else {
if(b==1)
- clipboard_copy(getseltext());
+ selcopy(getseltext());
}
draw(1);
}