Turn off the keyboard-control cursor when the user reverts to mouse
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 24 Jun 2005 11:13:08 +0000 (11:13 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 24 Jun 2005 11:13:08 +0000 (11:13 +0000)
control.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@6008 cda61777-01e9-0310-a592-d414129be87e

guess.c

diff --git a/guess.c b/guess.c
index a6ef548..b33a1b1 100644 (file)
--- a/guess.c
+++ b/guess.c
@@ -641,6 +641,7 @@ static game_state *make_move(game_state *from, game_ui *ui, game_drawstate *ds,
         }
         ui->drag_col = 0;
         ui->drag_opeg = -1;
+        ui->display_cur = 0;
         debug(("Stop dragging."));
         ret = from;
     } else if (button == RIGHT_BUTTON) {