https://bugs.winehq.org/show_bug.cgi?id=53928
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- Out of curiosity, if by 'killing X' you mean killing xserver, did you try to kill just the window manager ?
I've seen cases in a couple apps, where a Windows app captured input so successfully that it went past its lifetime, but killing the window manager too let things recover almost completely (as long as the *session* manager restarted wm).
Though given you're talking effectively about a gpu switch, this might be completely unrelated...