From: Jonas Kölker Date: Mon, 21 Sep 2015 16:22:34 +0000 (+0200) Subject: Slant: hide keyboard cursor when using the mouse. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=ebf31f52b0dae356c7ad515b3e2e66672bd69a4e;p=sgt-puzzles.git Slant: hide keyboard cursor when using the mouse. --- diff --git a/slant.c b/slant.c index fde9847..6210d01 100644 --- a/slant.c +++ b/slant.c @@ -1705,6 +1705,7 @@ static char *interpret_move(const game_state *state, game_ui *ui, y = FROMCOORD(y); if (x < 0 || y < 0 || x >= w || y >= h) return NULL; + ui->cur_visible = 0; } else if (IS_CURSOR_SELECT(button)) { if (!ui->cur_visible) { ui->cur_visible = 1;