shithub: puzzles

Download patch

ref: 20bd61bf4931396cc74265046a0f1bb4a3c57fd4
parent: be9e4f89579331eea8df13d8ef3ef7366a4cffab
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sat Aug 12 10:43:02 EDT 2023

Unruly: correctly handle clicks that only hide cursor

If you clicked somewhere that had no effect (on an immutable square or
a middle click on an empty square), interpret_move() would return NULL
even though it had unset ui->cursor.  So the keyboard cursor would
remain visible until the next window resize (or similar) when it would
vanish.  Now interpret_move() correctly returns MOVE_UI_UPDATE in
these cases, so the cursor vanishes immediately.