[GH-ISSUE #1192] Mouse movement bugs out whenever an application "grabs" the cursor focus. #962

Open
opened 2026-05-05 07:20:12 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @JustYourAverageGithubUser on GitHub (Jun 9, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1192

Describe the bug
Mouse Moves sporadically whenever a application (such as a game) grabs it's focus.

To Reproduce

Steps to reproduce the behavior:

  1. Setup Linux Server and Windows Client
  2. Open application that grabs the cursor on the client, such as a first person shooter.
  3. Try to move the mouse in a specific direction.
    The mouse will not move properly and will instead move sporadically with little to no control

Expected behavior
When an application grabs the cursor the mouse movements would be unaffected and would act just as if a mouse was plugged into the client machine directly.

Desktop (please complete the following information):

  • OS: Linux Server -> Windows 10 Client
  • Barrier version: 2.33

Additional context

Wanted to use barrier to play certain games on my windows machine (that couldn't be played via wine/proton). Upon opening any first person shooter game the game will grab the cursor and the mouse starts moving sporadically, usually making the game camera focus on the floor or ceiling and spin around rapidly. All other mouse movement behaves as expected.

Originally created by @JustYourAverageGithubUser on GitHub (Jun 9, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1192 **Describe the bug** Mouse Moves sporadically whenever a application (such as a game) grabs it's focus. **To Reproduce** Steps to reproduce the behavior: 1. Setup Linux Server and Windows Client 2. Open application that grabs the cursor on the client, such as a first person shooter. 3. Try to move the mouse in a specific direction. The mouse will not move properly and will instead move sporadically with little to no control **Expected behavior** When an application grabs the cursor the mouse movements would be unaffected and would act just as if a mouse was plugged into the client machine directly. **Desktop (please complete the following information):** - OS: Linux Server -> Windows 10 Client - Barrier version: 2.33 **Additional context** Wanted to use barrier to play certain games on my windows machine (that couldn't be played via wine/proton). Upon opening any first person shooter game the game will grab the cursor and the mouse starts moving sporadically, usually making the game camera focus on the floor or ceiling and spin around rapidly. All other mouse movement behaves as expected.
Author
Owner

@SashaGelert commented on GitHub (Jun 15, 2021):

I can reproduce this issue.
Desktop 1: Linux Mint 20.1 Mate, barrier 2.32, used as server
Desktop 2: Windows 10 Build H2, barrier 2.33, used as client

The issue is also reproduced with a Windows server and a Linux client.

<!-- gh-comment-id:861831182 --> @SashaGelert commented on GitHub (Jun 15, 2021): I can reproduce this issue. Desktop 1: Linux Mint 20.1 Mate, barrier 2.32, used as server Desktop 2: Windows 10 Build H2, barrier 2.33, used as client The issue is also reproduced with a Windows server and a Linux client.
Author
Owner

@hpeter1994 commented on GitHub (Jun 22, 2021):

I think its an old mouse acceleration issue from the synergy code. (I had it from the first day of usage).
My fix for it is that i have set up a "Lock Cursor to Screen" hotkey. If i use a game i just lock my mouse to the Win10 client and it works as intended.

<!-- gh-comment-id:866105668 --> @hpeter1994 commented on GitHub (Jun 22, 2021): I think its an old mouse acceleration issue from the synergy code. (I had it from the first day of usage). My fix for it is that i have set up a "Lock Cursor to Screen" hotkey. If i use a game i just lock my mouse to the Win10 client and it works as intended.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#962
No description provided.