puzzle: Add mouse support
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Jun 2018 21:38:24 +0000 (17:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jun 2018 01:47:30 +0000 (21:47 -0400)
commit1ee23d0d498b3c779343361bcdf7cc221464dcf2
tree641df57d421fccddc625e8f0413c5957f30390f6
parentebf042d305510c0f1ec1a2565524a2dc7c9267f8
puzzle: Add mouse support

Make it so that clicking on a puzzle piece moves enough
pieces to move the empty space there, if it is possible.
demos/gtk-demo/sliding_puzzle.c