chiark / gitweb /
Turn off the keyboard-control cursor when the user reverts to mouse
authorSimon Tatham <anakin@pobox.com>
Fri, 24 Jun 2005 11:13:08 +0000 (11:13 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 24 Jun 2005 11:13:08 +0000 (11:13 +0000)
control.

[originally from svn r6008]

guess.c

diff --git a/guess.c b/guess.c
index a6ef5485aeea82e9a8bdd3a08afa557dfd0e2287..b33a1b141992d8ea1d94adbafdc6a46cf5a5233a 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) {