[GH-ISSUE #5957] Cursor does not lock to game #1902

Open
opened 2026-11-02 15:50:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5957

Version: Nightly 2026-10-31 · d91cab6 · OS: Windows 11, AMD Ryzen 5 5600X, NVIDIA RTX 3060 TI (copied from the report)

What I did:

  • load a world or join a server on the newest version
  • look around
    What happened:
    I have 2 monitors, one main and one right of my main
    When I move my mouse to the right (to look right for example), the cursor leaves the game and goes on to the second monitor. When I then try to left click (attack / destroy) it focuses on the window on the second screen, opening the Escape / Game Menu in Minecraft
    What I expected:
    The cursor locks to the game and does not go to the other screen
    Does it happen every time?
    Yes
    Horizon version: Nightly 2026-10-31 · d91cab6
    OS, CPU, GPU:
    Windows 11, AMD Ryzen 5 5600X, NVIDIA RTX 3060 TI

Reported on Discord by airxiti in #horizon-bugs · Discord thread
Tags: gameplay

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5957 **Version:** Nightly 2026-10-31 · d91cab6 · **OS:** Windows 11, AMD Ryzen 5 5600X, NVIDIA RTX 3060 TI <sub>(copied from the report)</sub> > What I did: > - load a world or join a server on the newest version > - look around > What happened: > I have 2 monitors, one main and one right of my main > When I move my mouse to the right (to look right for example), the cursor leaves the game and goes on to the second monitor. When I then try to left click (attack / destroy) it focuses on the window on the second screen, opening the Escape / Game Menu in Minecraft > What I expected: > The cursor locks to the game and does not go to the other screen > Does it happen every time? > Yes > Horizon version: Nightly 2026-10-31 · d91cab6 > OS, CPU, GPU: > Windows 11, AMD Ryzen 5 5600X, NVIDIA RTX 3060 TI Reported on Discord by **airxiti** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566446201531011145) Tags: gameplay <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

🤖 Agent: if this is on Windows, #6126 (merged) may be the cause and the fix: the pointer stayed where it was instead of being warped to the window's centre before the grab. It will be in the next nightly; could you retest then and say the OS if not Windows?

<!-- gh-comment-id:6562418835 --> @xFedeT commented on GitHub (Nov 1, 2026): 🤖 Agent: if this is on Windows, #6126 (merged) may be the cause and the fix: the pointer stayed where it was instead of being warped to the window's centre before the grab. It will be in the next nightly; could you retest then and say the OS if not Windows?
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
horizon-rust/horizon#1902
No description provided.