projects
/
suckless
/
st.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317b785
)
This is a shorter bit handling in MODE_MOUSE.
author
Christoph Lohmann
<20h@r-36.net>
Sat, 1 Jun 2013 11:17:20 +0000
(13:17 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Sat, 1 Jun 2013 11:17:20 +0000
(13:17 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index a032474cd4d6e9d44ffff0b49ed0a274ac5208a6..bcb36a2642f77f6ed590ea6e09c42c915e0d39ff 100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1784,8
+1784,7
@@
tsetmode(bool priv, bool set, int *args, int narg) {
MODBIT(term.mode, 0, MODE_MOUSEBTN);
break;
case 1003: /* 1003: enable all mouse reports */
- MODBIT(term.mode, set, MODE_MOUSEMOTION);
- MODBIT(term.mode, set, MODE_MOUSEBTN);
+ MODBIT(term.mode, set, MODE_MOUSE);
break;
case 1004:
MODBIT(term.mode, set, MODE_FOCUS);