https://bugs.winehq.org/show_bug.cgi?id=55336
--- Comment #6 from YuriK7 riyu12383@gmail.com --- Still occurs with wine 9.13, also tested as far as wine 2.0.
Turns out the bug also happens in windowed mode, so testing with the wayland driver is possible.
After alt-tabbing, the input are completely unusable, pressing any keyboard key results with this warning : warn:keyboard:WAYLAND_KbdLayerDescriptor Failed to find Xkb layout for HKL 0x4090409
But clicking on the game window with the mouse brings back the keyboard input in a perfectly usable state. That "workaround" doesn't work with the x11 driver.