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?

  • 1
    sounds like your media controls changes the focus from the game, to whichever media player you are using
    – Dragonrage
    Commented Sep 11, 2019 at 21:50
  • I thought so too at first, but then I noticed the game doesn't drop fps which usually happens whenever it loses focus.
    – Max Flasi
    Commented Sep 11, 2019 at 21:56
  • Do you have a red border around your game if this happens?
    – Jutschge
    Commented Sep 11, 2019 at 22:09
  • No, I know about that F9 thing ;)
    – Max Flasi
    Commented Sep 11, 2019 at 22:20
  • 1
    I think the easiest workaround would be to play in windowed mode. This way you can check better if you actually lose focus. And if you lose focus, a simple click into the game window should regain focus. Otherwise I'd think that your issue is more on the OS side than the clients side Commented Sep 20, 2019 at 6:19

1 Answer 1


When that happens to me (sometimes when I load in game I just do not have Cursor Lock) I just alt+tab out of the game and back in. and that seems to wake up the game that its supposed to have the lock on.

I play windowed full screen, if that helps you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .