diff options
| author | Jonas Kölker <jonaskoelker@yahoo.com> | 2015-09-21 18:22:34 +0200 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2015-10-03 16:59:04 +0100 |
| commit | ebf31f52b0dae356c7ad515b3e2e66672bd69a4e (patch) | |
| tree | 58523f6058484c46a9488c7cac19438d8721da87 /slant.c | |
| parent | e59f820383c9941640d04d7b23e5d964f7ad6ff6 (diff) | |
| download | puzzles-ebf31f52b0dae356c7ad515b3e2e66672bd69a4e.zip puzzles-ebf31f52b0dae356c7ad515b3e2e66672bd69a4e.tar.gz puzzles-ebf31f52b0dae356c7ad515b3e2e66672bd69a4e.tar.bz2 puzzles-ebf31f52b0dae356c7ad515b3e2e66672bd69a4e.tar.xz | |
Slant: hide keyboard cursor when using the mouse.
Diffstat (limited to 'slant.c')
| -rw-r--r-- | slant.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |