Stillward Display

Stop the mouse slipping onto your second monitor in games

You flick the camera, the cursor leaves the game, and a click lands on your other screen. The game drops to the background mid-fight. Here is how to lock the mouse to the game.

In short

In borderless and windowed mode, the cursor can leave the game, and Windows has no setting to stop it. In Stillward Display, turn on Keep the pointer inside it on the During a game page. The mouse then stays on the game's screen while you play, and is free again the moment you alt-tab.

Why the mouse leaves the game

In exclusive fullscreen, a game usually holds the cursor itself. In borderless or windowed mode, which most people use because alt-tab is instant, the game is just a big window. The cursor can walk off its edge onto the next monitor. Some games stop it, many do not. Strategy games, where the cursor is always on screen, suffer most.

Doing it by hand

  • Look for a lock cursor or confine mouse option in the game's settings. Some games have one.
  • Switch the game to exclusive fullscreen. The cursor stays in, but alt-tab gets slow and the screen flashes black.
  • Turn the other monitor off while you play: Win + P, then PC screen only. The mouse has nowhere to go, and neither do your other windows.

Lock the cursor to the game automatically

Stillward Display can keep the pointer inside the game in two ways:

  • For every game, with no setup: on the During a game page, turn on Keep the pointer inside it. It works for any game that fills a whole monitor.
  • For one game, in its preset: turn on Keep the pointer inside it in the game's preset. This also works for a game in a smaller window, and goes together with the rest of the preset - your chat on the other monitor, your headphones on.

The lock lets go the moment you alt-tab or another window comes to the front, so you are never trapped. It comes back when you return to the game. A game that holds the cursor itself is left to do so.

Questions people ask

How do I free the mouse in the middle of a game?

Alt-tab to another window, or press Ctrl + Alt + F10.

Is it safe with anti-cheat?

It uses the standard Windows function that games use to hold their own cursor, called from outside the game. Nothing is injected into the game, and nothing touches its graphics or its memory, which is what anti-cheat systems look for.

Windows that move
the way you choose.

Stillward Display is a multi-monitor window manager for Windows 10 and 11. It puts your windows, your sound and your displays where you want them when a game or program starts, or when you press a key - and puts everything back afterwards.

Next guide

All guides
Mouse and focus Keep any window always on top - and make it transparent A video while you work, notes over a document, a guide over a game. One key keeps a window on top; another makes it see-through, so it never hides what is underneath.

More guides