You are not logged in.

#1 2025-04-13 12:18:01

quellen
Member
From: Italy
Registered: 2014-05-24
Posts: 364

[SOLVED] Steam wine: controls stop working when i press alt+tab

hi,
i have a problem with steam (started from wine): when i press alt+tab during the game (to change window) then when i return to the game the controls don't work anymore, neither the joypad nor the keyboard nor the mouse.
how can i solve it?
i dont' use DE, only openbox

the wine output is too long and i can't see it all:
https://pastebin.com/w6BmSTCM

$ pacman -Q|grep wine
wine 10.5-1
wine-mono 10.0.0-1

EDIT:
SOLVED:
1. Open Regedit, e.g. with wine regedit.exe
1. Go to HKEY_CURRENT_USER\Software\Wine\X11 Driver, creating it if it does not exist
1. Create a new entry named UseTakeFocus with value N

Alternatively you can achieve the same by running this on the command-line:

wine reg add 'HKEY_CURRENT_USER\Software\Wine\X11 Driver' /t REG_SZ /v UseTakeFocus /d N /f 

Last edited by quellen (2025-04-13 12:21:55)


sorry for my bad english

Offline

Board footer

Powered by FluxBB