diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-02-15 17:45:38 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-02-15 17:45:38 +0100 |
commit | b7261c84aa3af984d5a7e5f5239c4173255a215d (patch) | |
tree | d822ef8c627c6a9ca062910f3b5110d49815b9c1 | |
parent | 05a1ff03e95877a3b4c0ffee3164db65bb36d3ed (diff) | |
download | st-b7261c84aa3af984d5a7e5f5239c4173255a215d.tar.gz |
Tmux wants this to be mutually exclusive.
Thanks Egmont Koblinger <egmont@gmail.com> for noticing this!
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |