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]
This commit is contained in:
Simon Tatham
2005-05-31 18:38:01 +00:00
parent 437b69542f
commit a50a65120c
13 changed files with 41 additions and 8 deletions

1
solo.c
View File

@ -2179,6 +2179,7 @@ const struct game thegame = {
game_flash_length,
game_wants_statusbar,
FALSE, game_timing_state,
0, /* mouse_priorities */
};
#ifdef STANDALONE_SOLVER