mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
This is a shorter bit handling in MODE_MOUSE.
This commit is contained in:
parent
317b785921
commit
d743b93fda
1 changed files with 1 additions and 2 deletions
3
st.c
3
st.c
|
@ -1784,8 +1784,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
MODBIT(term.mode, 0, MODE_MOUSEBTN);
|
MODBIT(term.mode, 0, MODE_MOUSEBTN);
|
||||||
break;
|
break;
|
||||||
case 1003: /* 1003: enable all mouse reports */
|
case 1003: /* 1003: enable all mouse reports */
|
||||||
MODBIT(term.mode, set, MODE_MOUSEMOTION);
|
MODBIT(term.mode, set, MODE_MOUSE);
|
||||||
MODBIT(term.mode, set, MODE_MOUSEBTN);
|
|
||||||
break;
|
break;
|
||||||
case 1004:
|
case 1004:
|
||||||
MODBIT(term.mode, set, MODE_FOCUS);
|
MODBIT(term.mode, set, MODE_FOCUS);
|
||||||
|
|
Loading…
Reference in a new issue