https://bugs.winehq.org/show_bug.cgi?id=57144
Bug ID: 57144 Summary: X11: Keyboard is not working in some games in virtual desktop Product: Wine Version: 9.15 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: lojorix20@yandex.ru Distribution: ---
Games, such as Counter-Strike: Source and Out of Action UE4 demo do not detect any keys pressed when using wine in virtual desktop mode without other window manager. I tried using registry key UseTakeFocus=N from https://bugs.winehq.org/show_bug.cgi?id=48121, but it didn't help in these games. After debugging Counter-Strike: Source v34 with WINEDEBUG=trace+event I didn't find anything different, compared to other games, and also there was no FocusIn or FocusOut events. But I noticed, that if I minimize the running game and change focus to some other program (taskmgr.exe) and then return back to the game, keyboard starts working. I did the same test but with Xfce4 wm without virtual desktop, and the problem is not present there. Starting game in windowed mode does not help aswell.