aboutsummaryrefslogtreecommitdiff
path: root/twiddle.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-05-31 18:38:01 +0000
committerSimon Tatham <anakin@pobox.com>2005-05-31 18:38:01 +0000
commita50a65120c3b4230b6a1b95a52c8b6d3299a43c7 (patch)
treeefc4109cb80592e582561805dd707f2f2a43f388 /twiddle.c
parent437b69542fc34ae48bee14dc821ef9df1c71c62a (diff)
downloadpuzzles-a50a65120c3b4230b6a1b95a52c8b6d3299a43c7.zip
puzzles-a50a65120c3b4230b6a1b95a52c8b6d3299a43c7.tar.gz
puzzles-a50a65120c3b4230b6a1b95a52c8b6d3299a43c7.tar.bz2
puzzles-a50a65120c3b4230b6a1b95a52c8b6d3299a43c7.tar.xz
Better mouse button handling in Mines:
- middle button now also triggers the clear-around-square action - a special-case handler in midend_process_key() arranges that the left button always trumps the right button if both are pressed together, meaning that Windows Minesweeper players used to pressing L+R to clear around a square should still be able to do so without any strange behaviour. (The latter touches all game backends, yet again, to add a field to the game structure which is zero in everything except Mines.) [originally from svn r5888]
Diffstat (limited to 'twiddle.c')
-rw-r--r--twiddle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/twiddle.c b/twiddle.c
index 66e8e95..66c4d8b 100644
--- a/twiddle.c
+++ b/twiddle.c
@@ -1179,4 +1179,5 @@ const struct game thegame = {
game_flash_length,
game_wants_statusbar,
FALSE, game_timing_state,
+ 0, /* mouse_priorities */
};