diff options
author | James Booth <boothj5@gmail.com> | 2012-11-20 21:03:59 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-20 21:03:59 +0000 |
commit | a3da391bfe17a4efac7d2f7dc23b844d1a9d652f (patch) | |
tree | 24813c088b056a8d8b4e7fc1eac27cc518519507 | |
parent | dda57fcd8eb393369cee1665e725bbefd68e7ea6 (diff) | |
download | profani-tty-a3da391bfe17a4efac7d2f7dc23b844d1a9d652f.tar.gz |
Listen only for mouse events we're interested in
-rw-r--r-- | src/windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.c b/src/windows.c index 8cf3adc7..8913c963 100644 --- a/src/windows.c +++ b/src/windows.c @@ -107,7 +107,7 @@ gui_init(void) initscr(); cbreak(); keypad(stdscr, TRUE); - mousemask(ALL_MOUSE_EVENTS, NULL); + mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL); mouseinterval(5); if (has_colors()) { |