<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: [Feature Request] An option to lock the mouse to the current monitor.</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=accf6022-c7b0-4465-9a49-5a99cab2f261" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=accf6022-c7b0-4465-9a49-5a99cab2f261</link>
<description>DisplayFusion RSS: [Feature Request] An option to lock the mouse to the current monitor.</description>
<lastBuildDate>Sun, 19 Apr 2026 12:21:30 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=accf6022-c7b0-4465-9a49-5a99cab2f261</generator>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#11</link>
<pubDate>Mon, 05 Nov 2018 09:10:32 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#11</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thought I'd mention that I had the same request, and managed to implement it using a custom script function.
Function description: Pressing and releasing this function's hotkey locks the mouse to the current monitor. It's then kept locked until you *press and hold down* the hotkey. While it's he...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thought I'd mention that I had the same request, and managed to implement it using a custom script function.<br/>
<br/>
Function description: Pressing and releasing this function's hotkey locks the mouse to the current monitor. It's then kept locked until you *press and hold down* the hotkey. While it's held down you can freely move between monitors. Once released, it gets locked again to the new current monitor.<br/>
<br/>
I've submitted it for inclusion in the online list, but in the meantime, here's the script code:<br/>
<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019da5b0559470b080dfc14caf2cf0e3" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019da5b0559470b080dfc14caf2cf0e3Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019da5b0559470b080dfc14caf2cf0e3Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Threading;

public static class DisplayFusionFunction
{
    // update this value to match the hotkey you've assigned to this function -- ignoring ctrl, alt, etc. (I use Alt+A)
    static Keys hotkeyKey = Keys.A;

    [DllImport("user32")]
    static extern bool GetAsyncKeyState(int vKey);
    
    public static void Run(IntPtr windowHandle)
    {
        // if cursor is already unlocked by hotkey, don't start hotkey function again
        if (BFS.ScriptSettings.ReadValueBool("Cursor unlocked")) return;
    
        // unlock the mouse cursor since hotkey has been pressed down
        Cursor.Clip = Rectangle.Empty;
        BFS.ScriptSettings.WriteValueBool("Cursor unlocked", true);
        
        // wait until the hotkey is released
        while (GetAsyncKeyState((int)hotkeyKey)) {
            Thread.Sleep(10);
        }
        
        // then lock the mouse cursor again
        Cursor.Clip = BFS.Monitor.GetMonitorBoundsByMouseCursor();
        BFS.ScriptSettings.WriteValueBool("Cursor unlocked", false);
    }
}</pre><textarea id="code019da5b0559470b080dfc14caf2cf0e3" name="code019da5b0559470b080dfc14caf2cf0e3" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#10</link>
<pubDate>Tue, 02 May 2017 23:49:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
This free app does that
http://dualmonitortool.sourceforge.net/
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.
This post was merged on May 2, 2017.
"
The cursor can be in one of three modes:
Free - the cursor is free to move unhinde...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>This free app does that<br/>
<a href="http://dualmonitortool.sourceforge.net/" target="_blank" rel="nofollow"><b>http://dualmonitortool.sourceforge.net/</b></a><br/>
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.<br/>
<br/>
<i>This post was merged on May 2, 2017.</i></div></div><br/>
<br/>
"<br/>
The cursor can be in one of three modes:<br/>
<br/>
Free - the cursor is free to move unhindered between screens<br/>
Sticky - there is resistance to moving the cursor between screens<br/>
Locked - the cursor is locked onto a single screen<br/>
"<br/>
<br/>
What I'm suggesting doesn't fall within any of those options, I'd like the ability to set certain monitors or groups of monitors apart from the rest and use a hotkey to enable movement to them. For example, all monitors on the top row vs the bottom row, hold shift to enable moving to the top row of monitors.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#9</link>
<pubDate>Tue, 02 May 2017 18:08:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Merged and added your vote to the open feature request]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Merged and added your vote to the open feature request <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#8</link>
<pubDate>Tue, 02 May 2017 16:44:18 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[This free app does that
http://dualmonitortool.sourceforge.net/
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.
This post was merged on May 2, 2017.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
This free app does that<br/>
<a href="http://dualmonitortool.sourceforge.net/" target="_blank" rel="nofollow"><b>http://dualmonitortool.sourceforge.net/</b></a><br/>
Once installed, click on the General tab under Cursor and setup the hotkeys that you want to use.<br/>
<br/>
<i>This post was merged on May 2, 2017.</i>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#7</link>
<pubDate>Tue, 02 May 2017 03:22:00 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[I have two monitors, one above the other, and have a hard time keeping my cursor where I want it on the monitor below. For example, selecting tabs in chrome I tend to accidentally drift onto the monitor above.
Can we get (or do we already have) a feature that would prevent moving onto that monit...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I have two monitors, one above the other, and have a hard time keeping my cursor where I want it on the monitor below. For example, selecting tabs in chrome I tend to accidentally drift onto the monitor above.<br/>
<br/>
Can we get (or do we already have) a feature that would prevent moving onto that monitor unless I hold a modifier key? I know I can lock the cursor to one monitor, but can I lock it to every monitor but that one?<br/>
<br/>
<i>This post was merged on May 2, 2017.</i>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#6</link>
<pubDate>Thu, 04 Apr 2013 07:41:29 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#5</link>
<pubDate>Wed, 03 Apr 2013 19:28:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[@Andy: Thanks for posting that solution!
@Typo: We've had that specific functionality requested before as well, so I've added your vote to the feature request.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
@Andy: Thanks for posting that solution!<br/>
<br/>
@Typo: We've had that specific functionality requested before as well, so I've added your vote to the feature request.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#4</link>
<pubDate>Sat, 30 Mar 2013 11:20:55 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Use a simple Shortkey (win-key and one nearby) , it's almost as comfortable. However shortkeys with mouse-buttons would be a very useful feature.
I only  need this for games in (1-Screen) window-mode or while working an 1 display while on the 2. is a movie or something. So it's just fine for me.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Use a simple Shortkey (win-key and one nearby) , it's almost as comfortable. However shortkeys with mouse-buttons would be a very useful feature. <br/>
I only  need this for games in (1-Screen) window-mode or while working an 1 display while on the 2. is a movie or something. So it's just fine for me.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#3</link>
<pubDate>Sat, 30 Mar 2013 11:03:58 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[You rock!  Thanks!
Would be cool if there was a temporary toggle too so that I could hold down a key and then move the mouse to a new monitor and then let it go and its now stuck in that window .... right now you have to turn it off and then back on.
Even if that's not possible, this is certain...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
You rock!  Thanks!<br/>
<br/>
Would be cool if there was a temporary toggle too so that I could hold down a key and then move the mouse to a new monitor and then let it go and its now stuck in that window .... right now you have to turn it off and then back on.<br/>
<br/>
Even if that's not possible, this is certainly better than nothing.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: [Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#2</link>
<pubDate>Sat, 30 Mar 2013 11:00:41 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[It's already available: Functions/Mous Cursor/ "lock/unlock mouse cursor  to current monitor"
Set a shortkey.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
It's already available: Functions/Mous Cursor/ "lock/unlock mouse cursor  to current monitor"<br/>
Set a shortkey.
</div>
]]></content:encoded>
</item>
<item>
<title>[Feature Request] An option to lock the mouse to the current monitor.</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261</link>
<pubDate>Fri, 29 Mar 2013 13:38:58 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-an-option-to-lock-the-mouse-to-the-current-monitor/?ID=accf6022-c7b0-4465-9a49-5a99cab2f261</guid>
<category>DisplayFusion</category>
<description><![CDATA[I'm sure I cannot be the only one that occasionally moves the mouse too far and it vanishes to another monitor (which might not even be on) when normally without extra monitors it would stop at the border.
I'm not sure if this idea is worthy or how hard it would be on you but it occurred to me t...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I'm sure I cannot be the only one that occasionally moves the mouse too far and it vanishes to another monitor (which might not even be on) when normally without extra monitors it would stop at the border.  <br/>
<br/>
I'm not sure if this idea is worthy or how hard it would be on you but it occurred to me that it might be nice to be able to have the mouse set to not leave the current monitor unless you hold down a key while moving it or hit the key to toggle the lock off/on permanently.<br/>
<br/>
To be honest I'm not even sure how much I would like it because I can't try it but I would sure love to see the option.<br/>
<br/>
Thanks again!
</div>
]]></content:encoded>
</item>
</channel>
</rss>