mirror of git://git.suckless.org/st
fix build.
This commit is contained in:
parent
1d10e7865f
commit
4449abbddb
4
st.c
4
st.c
|
@ -292,10 +292,10 @@ static void brelease(XEvent *e) {
|
||||||
if(sel.bx==sel.ex && sel.by==sel.ey) {
|
if(sel.bx==sel.ex && sel.by==sel.ey) {
|
||||||
sel.bx = -1;
|
sel.bx = -1;
|
||||||
if(b==2)
|
if(b==2)
|
||||||
clipboard_paste();
|
selpaste();
|
||||||
} else {
|
} else {
|
||||||
if(b==1)
|
if(b==1)
|
||||||
clipboard_copy(getseltext());
|
selcopy(getseltext());
|
||||||
}
|
}
|
||||||
draw(1);
|
draw(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue