[hackers] [st] Tmux wants this to be mutually exclusive. || Christoph Lohmann
commit b7261c84aa3af984d5a7e5f5239c4173255a215d
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Fri Feb 15 17:45:38 2013 +0100
Tmux wants this to be mutually exclusive.
Thanks Egmont Koblinger <egmont_AT_gmail.com> for noticing this!
diff --git a/st.c b/st.c
index 72f12a7..8206001 100644
--- a/st.c
+++ b/st.c
_AT_@ -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);
Received on Fri Feb 15 2013 - 17:48:06 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 21 2013 - 19:26:41 CET