pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a1ff0
)
Tmux wants this to be mutually exclusive.
author
Christoph Lohmann
<20h@r-36.net>
Fri, 15 Feb 2013 16:45:38 +0000
(17:45 +0100)
committer
Christoph Lohmann
<20h@r-36.net>
Fri, 15 Feb 2013 16:45:38 +0000
(17:45 +0100)
Thanks Egmont Koblinger <egmont@gmail.com> for noticing this!
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
72f12a7
..
8206001
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1557,9
+1557,11
@@
tsetmode(bool priv, bool set, int *args, int narg) {
break;
case 1000: /* 1000,1002: enable xterm mouse report */
MODBIT(term.mode, set, MODE_MOUSEBTN);
+ MODBIT(term.mode, 0, MODE_MOUSEMOTION);
break;
case 1002:
MODBIT(term.mode, set, MODE_MOUSEMOTION);
+ MODBIT(term.mode, 0, MODE_MOUSEBTN);
break;
case 1006:
MODBIT(term.mode, set, MODE_MOUSESGR);