I'm running league of legends on debian (don't ask why), and whenever I use media controls (for example play/pause, next/previous track), the game loses the cursor lock, which makes it impossible to properly control the camera in game.
How can I avoid this (other than not using media controls)? Anyone with any experience with this?