Alt+Tab *sometimes* blocks keyboard input

Alt+Tab sometimes blocks keyboard input when alt+tabbing from a game and back into it. The only fix I have been able to find so far is pressing Alt again to return to normal. This isn't a huge deal, but it does get tedious over time.
1 Reply
_tnr
_tnrOP6mo ago
I did some tinkering with xdotool and was able to put together a hack to get it to work, but still hoping someone could give some insight so I don't have to have that going. For anyone interested in the hack it's using xdotool to press Alt automatically each time the game is back in focus.:
xdotool search --class "yourgame.exe" behave %@ focus keydown Alt keyup Alt
xdotool search --class "yourgame.exe" behave %@ focus keydown Alt keyup Alt
Want results from more Discord servers?
Add your server