Linux (wayland) cursor/focus not staying in game window, ranodmly.

Barri

New member
Frequently during matches mouse will seemingly randomly stop being 'centered' in the game window and inputs are then pushed into other on other monitors. Whenever this bug is present when 'turning' right I'll see my mouse appear on my second monitor

This is temporarily fixed with some random assortment of spaming 'b' to open shop, 'esc' to open menu, fn+tab switching focus between applications, and raging at the machine. Opening video settings and checking/unchecking 'Full screen focus behavior' does not seem to impact this, and this bug happens regardless of this checkbox's state.

I'm rendering using Vulkan, if that matters.
KDE Plamsa Version: 6.4.4
KDE Frameworks Vers: 6.17.0
Qt Version: 6.9.1
Distro: Bazzite 42.20250816.0 (Kinoite)
Kernal Version: 6.15.9-106.bazzite.fc42.x86_64 (64-bit)

This issue doesn't happen every game, but when it does it seems to happen several times in the same game, it also seems to only happen when I'm doing really well and in the middle of a fight; but that is likely bias.
 
Last edited:
This is pretty common on Wayland! I use Gamemode to resolve it on this title, as well as others.
You'll need to install gamemode onto your system, and edit the launch options of Deadlock in Steam. Your system will likely be different from mine, but here's what my launch options look like:

Code:
gamemoderun %command% -fullscreen -w 2560 -h 1440

I use GE-Proton10-15. You can find gamemode here.
 
Back
Top