From a50a65120c3b4230b6a1b95a52c8b6d3299a43c7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 31 May 2005 18:38:01 +0000 Subject: 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] --- pattern.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pattern.c') diff --git a/pattern.c b/pattern.c index 4cd3669..c7c06f1 100644 --- a/pattern.c +++ b/pattern.c @@ -1143,6 +1143,7 @@ const struct game thegame = { game_flash_length, game_wants_statusbar, FALSE, game_timing_state, + 0, /* mouse_priorities */ }; #ifdef STANDALONE_SOLVER -- cgit v1.1