From ebf31f52b0dae356c7ad515b3e2e66672bd69a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20K=C3=B6lker?= Date: Mon, 21 Sep 2015 18:22:34 +0200 Subject: [PATCH] Slant: hide keyboard cursor when using the mouse. --- slant.c | 1 + 1 file changed, 1 insertion(+) 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;