http://bugs.winehq.org/show_bug.cgi?id=55336
--- Comment #15 from YuriK7 riyu12383@gmail.com --- Still occurs with wine 10.17. Current workaround is to remove handle_foreground_lost from dinput_main.c, which I wonder if it's really necessary as NOTIFY_REFRESH_DEVICES is send just after it. It unhooks the cbt_hook, and can't catch the focus in afterwards.