about summary refs log tree commit diff stats
path: root/src/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-26 21:19:35 +0000
committerJames Booth <boothj5@gmail.com>2012-11-26 21:19:35 +0000
commit1adc79ba35356c98dbd5fe0f4575fb90d0213426 (patch)
tree951415a6e72ad0a0de514110ba2fa83431f29275 /src/windows.c
parent0e178ab411c630c299dd41fae3e265116b27d5eb (diff)
downloadprofani-tty-1adc79ba35356c98dbd5fe0f4575fb90d0213426.tar.gz
Attempt to stop mouse click blocking input
Diffstat (limited to 'src/windows.c')
-rw-r--r--src/windows.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/windows.c b/src/windows.c
index 5db79165..4f59d0c3 100644
--- a/src/windows.c
+++ b/src/windows.c
@@ -107,11 +107,7 @@ ui_init(void)
     initscr();
     raw();
     keypad(stdscr, TRUE);
-#ifdef PLATFORM_CYGWIN
-    mousemask(BUTTON5_PRESSED | BUTTON4_PRESSED, NULL);
-#else
-    mousemask(BUTTON2_PRESSED | BUTTON4_PRESSED, NULL);
-#endif
+    mousemask(ALL_MOUSE_EVENTS, NULL);
     mouseinterval(5);
     ui_load_colours();
     refresh();