Browse Source

This is a shorter bit handling in MODE_MOUSE.

master
Christoph Lohmann 12 years ago
parent
commit
d743b93fda
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      st.c

+ 1
- 2
st.c View File

@ -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);


Loading…
Cancel
Save