It actually works ok in Wine.
(Though I had to enable "Graphics"->"Automatically capture the mouse ..." in winecfg.)