diff options
author | Christoph Lohmann | 2013-06-01 13:17:20 +0200 |
---|---|---|
committer | Christoph Lohmann | 2013-06-01 13:17:20 +0200 |
commit | d743b93fdaee4900052a94b37c24073008888002 (patch) | |
tree | b0fa4fce7f6056471b6ccddf3456ebdd6125066f | |
parent | 317b7859210c187f898ddbc8ec0cc50885f340bc (diff) | |
download | st-d743b93fdaee4900052a94b37c24073008888002.tar.gz st-d743b93fdaee4900052a94b37c24073008888002.tar.xz st-d743b93fdaee4900052a94b37c24073008888002.zip |
This is a shorter bit handling in MODE_MOUSE.
-rw-r--r-- | st.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |