Fix Cursor Moving to Second Monitor in CS 1.6
Last updated: April 17, 2026
Fix Cursor Moving Counter-strike 1.6
You’re mid-round, flick right, and the cursor flies off to the second monitor. CS 1.6 minimizes or loses focus. Round over.
GoldSrc doesn’t natively clip the cursor to a single screen the way modern games do. On a single monitor this was never a problem — there was nowhere for the cursor to go. On a dual monitor setup, especially on Windows 10 and 11, the cursor escapes the game boundary the moment it hits the screen edge at the wrong angle. It gets worse after Xbox Game Bar is triggered, after Windows updates, or when running the game in any mode other than true exclusive fullscreen.
Several fixes exist. Some are permanent, some are workarounds. Start from the top.
Why CS 1.6 Can’t Lock the Cursor on Dual Monitors
CS 1.6 uses ClipCursor() — a Windows API call that confines the cursor to a defined rectangle on screen. In true exclusive fullscreen, this works reliably because the game owns the entire display. The problem is GoldSrc’s fullscreen implementation is old and doesn’t handle multi-monitor environments cleanly. Windows 10 and 11 introduced changes to how fullscreen applications interact with the cursor clip region, and GoldSrc’s ClipCursor() call gets overridden — particularly after the Xbox Game Bar is opened for the first time, or after certain Windows updates.
The result: cursor clip releases mid-game, cursor drifts to monitor two, game loses focus, you die.
Enable Raw Input
Open the CS 1.6 console and run:
m_rawinput 1
Raw input bypasses Windows mouse processing entirely — the game reads directly from the hardware device. This doesn’t technically lock the cursor to your screen, but it keeps the cursor glued to the game’s input context. A lot of players report the cursor stops escaping simply by enabling this, especially combined with fullscreen mode.
Add it to autoexec.cfg to make it permanent:
Non-Steam: cstrike\autoexec.cfg Steam: Steam\steamapps\common\Half-Life\cstrike\autoexec.cfg
Force True Fullscreen
Windowed and borderless windowed mode don’t clip the cursor at all — the cursor is free to move anywhere on the desktop. If you’re running in those modes, switching to true exclusive fullscreen is the first real fix to try.
Steam launch options: right-click Counter-Strike → Properties → Launch Options:
-full
Non-Steam shortcut: right-click hl.exe shortcut → Properties → Target field, add -full at the end.
True exclusive fullscreen gives GoldSrc full control of the display and lets ClipCursor() do its job. On a lot of setups this alone stops the cursor from escaping.
Disable Xbox Game Bar
This is the most common trigger on Windows 11. Opening Xbox Game Bar (Win + G) for the first time changes how Windows handles cursor confinement in fullscreen applications — and the change persists after you close it. Games that were fine before suddenly have the escaping cursor issue after a single Game Bar open.
To disable it: Settings → Gaming → Xbox Game Bar → toggle off Enable Xbox Game Bar.
If it’s already been opened and the problem is active, disabling it going forward helps but may not fully revert the existing state. The nuclear option is removing it via PowerShell (admin):
Get-AppxPackage *Microsoft.XboxGamingOverlay* | Remove-AppxPackage
Reboot after running this. Test CS 1.6 before and after to confirm it was the cause.
Registry Fix: MouseMonitorEscapeSpeed
Windows has a registry value that controls how aggressively the cursor is allowed to cross monitor boundaries. Setting it slows down or blocks cursor escape from a fullscreen application.
Press Win + R → type regedit → navigate to:
HKEY_CURRENT_USER\Control Panel\Desktop
Look for MouseMonitorEscapeSpeed. If it doesn’t exist, right-click in the right pane → New → DWORD (32-bit) Value → name it MouseMonitorEscapeSpeed.
Double-click it and set the value to 1.
Reboot and test. This doesn’t fully prevent cursor escape in all cases but significantly reduces how easily the cursor bleeds to the second monitor during fast mouse movement.
Arrange Monitors Diagonally in Windows Display Settings
A practical workaround that doesn’t require software or registry edits. Windows respects monitor boundary placement — if your monitors are arranged so the shared edge is diagonal rather than straight across, the cursor needs to hit a precise diagonal angle to cross over. During normal gameplay movement, it almost never does.
Settings → System → Display → drag the monitor icons so they overlap diagonally rather than sitting edge-to-edge. Even a small offset makes cursor escape during fast horizontal flicks much less likely.
It sounds like a hack because it is. But it works.
Use Windowed Borderless + Cursor Locker Tool
If true fullscreen causes other problems — resolution switching on alt-tab, black screen issues, or incompatibility with your streaming setup — windowed borderless is the alternative. The cursor will escape in borderless without a locker, but several lightweight tools lock it to the primary display.
Dual Monitor Tools (free, open source) — download from SourceForge. After installing, open it → Cursor section → set to Sticky → configure a hotkey to lock/unlock the cursor to the main screen. Press the hotkey before loading into a server.
Cursor Locker — simpler tool available on GitHub. Set it to lock to the foreground window title (hl or Counter-Strike), and it confines the cursor automatically when CS 1.6 has focus.
Both tools release the cursor when you alt-tab out, which is the correct behavior — you can use your second monitor normally between rounds.
Disable Snapping at Screen Edges (Group Policy)
On Windows 11 Pro, there’s a Group Policy setting that controls cursor behavior at screen edges. Disabling it stops the cursor from snapping across to the adjacent monitor during fast movement.
Press Win + R → type gpedit.msc → navigate to:
Computer Configuration → Administrative Templates → Windows Components → Edge UI
Find Allow edge swiping → set to Disabled → Apply.
Reboot. This reduces but doesn’t entirely eliminate cursor escape in CS 1.6, but combined with raw input and fullscreen mode it’s usually enough.
Note: gpedit.msc is only available on Windows 10/11 Pro, Education, and Enterprise. Home edition doesn’t have it.
Set CS 1.6 as Primary Display Application
If your second monitor is set as the primary display and CS 1.6 launches on the secondary, cursor confinement behaves erratically. CS 1.6 should run on whichever monitor Windows considers primary.
Settings → System → Display → click your main gaming monitor → scroll down → check Make this my main display.
Then launch CS 1.6 and confirm it opens on the primary. If it keeps launching on the wrong screen, use -full launch option and set the game resolution to match the primary monitor’s resolution exactly.
Dual Monitor Cursor Issue After Windows Update
If this started after a Windows update and nothing else changed, the update modified how Windows handles cursor clipping in fullscreen applications — this has happened multiple times, most notably with Windows 11 23H2 updates.
Options:
- Roll back the update: Settings → Windows Update → Update history → Uninstall updates → find the most recent one → uninstall → reboot
- Apply the Game Bar fix and registry tweak above, which compensate for the changed behavior without requiring a rollback
- Wait for a follow-up Windows update that patches it — Microsoft has acknowledged this as a bug in several builds
Rolling back isn’t always practical, so the Game Bar disable + MouseMonitorEscapeSpeed registry value is usually the faster path.
CS 1.6 Dual Monitor Cursor: What Each Fix Does
| Fix | What it addresses |
|---|---|
m_rawinput 1 |
Keeps input locked to game context, reduces drift |
-full launch option |
Enables true exclusive fullscreen, full cursor clip |
| Disable Xbox Game Bar | Removes the most common trigger for clip release |
MouseMonitorEscapeSpeed registry |
Slows cursor boundary crossing at OS level |
| Diagonal monitor arrangement | Reduces accidental crossing during horizontal aim |
| Cursor Locker / Dual Monitor Tools | Hard locks cursor to primary screen in any mode |
| Group Policy edge swiping | Reduces edge-crossing on Windows 11 Pro |
Frequently Asked Questions
Why did this start happening suddenly when it worked fine before?
Three most likely causes: Xbox Game Bar was opened for the first time (Win + G), a Windows update changed cursor clipping behavior, or CS 1.6 switched from fullscreen to a windowed mode. Check which of those applies and start there.
Does -full launch option actually force exclusive fullscreen in CS 1.6?
Yes, for CS 1.6 on GoldSrc. Unlike some newer games where -fullscreen is ignored or maps to borderless, GoldSrc honors -full and enters true exclusive fullscreen mode where it owns the entire display output.
Will Dual Monitor Tools affect my second monitor while CS 1.6 isn’t running?
No. The cursor lock only applies when the hotkey is active. Tap the hotkey to lock before a match, tap it again to release when you want to use your second monitor. Most people bind it to something easy like Ctrl+Alt+F.
Raw input is already on and the cursor still escapes — what now?
Raw input helps but doesn’t fully solve it on its own. Combine it with -full launch option and the Game Bar disable. If those three together don’t fix it, go to the MouseMonitorEscapeSpeed registry value or a cursor locker tool.
My second monitor goes black when CS 1.6 launches in fullscreen — is that related?
That’s a separate issue caused by CS 1.6’s exclusive fullscreen taking over the display output and blanking secondary monitors. It’s normal behavior for exclusive fullscreen on some setups. Running borderless windowed + a cursor locker tool is the way to keep both monitors active and the cursor confined.
Cursor on Second Monitor in CS 1.6: Where to Start
Raw input on, fullscreen forced, Game Bar disabled. Those three changes together handle it for most people with a dual monitor setup — no third-party tools needed.
If it came back after a Windows update, the registry fix and Game Bar removal are the fastest path back to normal. If you need borderless windowed for streaming or other reasons, grab Dual Monitor Tools and set a lock hotkey — thirty seconds of setup and you won’t think about it again.
You can explore more Counter-Strike 1.6 resources and also get the latest installer here. To enjoy all the latest features.
