Skip to content

Cursor snaps into upper left corner on exit from Source Engine games #528

Description

@NicknineTheEagle

Describe the bug
When running any Source Engine game (e.g. Half-Life 2, Counter-Strike: Source, Team Fortress 2) with the overlay enabled, if you exit the game without opening the overlay during that session, the cursor will snap into the upper left corner of the screen and it will be stuck in place until you click.

Emulator version
https://github.com/Detanup01/gbe_fork/releases/tag/release-2026_05_19

Debug log
N/A

steam_settings file
N/A

Infos
The game SteamAppId: 220, 240, 440, ...
The game using Denuvo: No

Requirement

  • I am uploaded debug log.
  • I am uploaded steam_setting file.
  • I am sure the game not using 3rd party server (Photon, Playfab, GC, etc).
  • I am sure can run the game offline.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure you have the overlay enabled in configs.overlay.ini.
  2. Run a Source Engine game (e.g. Half-Life 2, Counter-Strike: Source, Team Fortress 2).
  3. Do NOT open the overlay.
  4. Exit the game.
  5. Cursor snaps into the upper left corner of the screen and gets stuck there until you click.

Expected behavior
Cursor position on exit is not affected by the overlay.

Screenshots
N/A

Additional context
N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingoverlayOverlay related

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions