Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse doesn't stay locked to window when alt tabbing (Linux) #2982

Open
MasterJubei opened this issue Mar 2, 2025 · 2 comments
Open

Mouse doesn't stay locked to window when alt tabbing (Linux) #2982

MasterJubei opened this issue Mar 2, 2025 · 2 comments

Comments

@MasterJubei
Copy link

MasterJubei commented Mar 2, 2025

  1. Gnome 46
  2. Linux Mint 22.1
  3. Kernel 6.11.0.17-generic
  4. Radeon 6900xt

I am using X11

This does not seem to affect Proton games, those lock the mouse even after alt tabbing.
However with Dota 2, if I press the Windows key, I can sucessfully select other applications and go back to the window most of the time without issue.

However when alt tabbing and right clicking on a panel behind the window, the mouse does not successfully relock to the window.

Once this occurs, the only way to relock the mouse is to restart the game.
Toggling dota_mouse_window_lock does not do anything.

@slouken
Copy link

slouken commented Mar 4, 2025

Is this in a multi-monitor configuration?

@slouken
Copy link

slouken commented Mar 4, 2025

I just did a fresh install of Linux Mint 22.1 Cinnamon and set up two monitors, and the behavior I'm seeing is that once I'm in a game, the Windows key does not let me select other applications, and Alt-Tab will minimize the game, but once I click on it in the task bar it comes back up and the mouse is locked to the window.

Did I miss a step in the repro case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants