<?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: Hotkey modifier to ignore monitor splits</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0</link>
<description>DisplayFusion RSS: Feature Request: Hotkey modifier to ignore monitor splits</description>
<lastBuildDate>Sat, 20 Jun 2026 02:02:39 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0</generator>
<item>
<title>RE: Feature Request: Hotkey modifier to ignore monitor splits</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-hotkey-modifier-to-ignore-monitor-splits/?ID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0#2</link>
<pubDate>Thu, 24 Jun 2021 20:26:12 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-hotkey-modifier-to-ignore-monitor-splits/?ID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
Unfortunately there isn't a way to separate the splits and padding. You will have to manually adjust for the padding.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
<br/>
Unfortunately there isn't a way to separate the splits and padding. You will have to manually adjust for the padding.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>Feature Request: Hotkey modifier to ignore monitor splits</title>
<link>https://www.displayfusion.com/Discussions/View/feature-request-hotkey-modifier-to-ignore-monitor-splits/?ID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0</link>
<pubDate>Mon, 21 Jun 2021 12:32:04 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/feature-request-hotkey-modifier-to-ignore-monitor-splits/?ID=2a3ad6f0-b8da-41f5-bb83-62fb28236fc0</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for continued enhancements! Displayfusion is a must have tool!
I use hotkeys to configure my window layouts on the screen but I also find monitor splitting is a great tool. There is a function entry for allowing a window to be maximised but ignore monitor splits, this is very useful but c...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for continued enhancements! Displayfusion is a must have tool!<br/>
<br/>
I use hotkeys to configure my window layouts on the screen but I also find monitor splitting is a great tool. There is a function entry for allowing a window to be maximised but ignore monitor splits, this is very useful but could this be extended to apply to all the other window moving functions for instance 'Size and Move Window to Left Side of Monitor'. I assume this would be possible with a scripted function but I couldn't find anything quite like what I'm after.<br/>
<br/>
Thanks!<br/>
<br/>
EDIT: I've managed to do it as a scripted function (below), I just wonder if there was a neater way. Also ideally I'd like to ignore splits but not ignore any padding those splits might have as I reserve a sliver of my screen left and right for widgets. For now I can just hard-code the padding I guess?<br/>
<br/>
<div 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="#code019ee2c40c3276b399986d7cf8056521" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019ee2c40c3276b399986d7cf8056521Js'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;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="code019ee2c40c3276b399986d7cf8056521Js" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

// The 'windowHandle' parameter will contain the window handle for the:
// - Active window when run by hotkey
// - Window Location target when run by a Window Location rule
// - TitleBar Button owner when run by a TitleBar Button
// - Jump List owner when run from a Taskbar Jump List
// - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {    
        //check to see if there was an error, if there was, exit function
        if (windowHandle == IntPtr.Zero)
            return;

        //get the position of the window in the monitor, and the current monitor
        Rectangle windowRect = BFS.Window.GetBounds(windowHandle);
        //Rectangle monitorRect = BFS.Monitor.GetMonitorWorkAreaByWindow(windowHandle);
        
        // Get an array of the bounds for all monitors ignoring splits
        Rectangle[] monitorBoundsAll = BFS.Monitor.GetMonitorBoundsNoSplits();
                
        // Get window pos
        Point winPosition = new Point(windowRect.X, windowRect.Y);
        
        foreach (Rectangle monitorRect in monitorBoundsAll)
        {
            if (monitorRect.Contains(winPosition))
            {
                int iFinalWinX = monitorRect.X;
                int iFinalWinY = monitorRect.Y;
                int iFinalWinW = monitorRect.Width / 2;
                int iFinalWinH = monitorRect.Height;

                if(    windowRect.X == iFinalWinX
                    && windowRect.Y == iFinalWinY
                    &&    windowRect.Width == iFinalWinW
                    &&    windowRect.Height == iFinalWinH )
                {
                    return;
                }

                BFS.Window.SetSizeAndLocation(windowHandle, iFinalWinX, iFinalWinY, iFinalWinW, iFinalWinH );
            }
        }        
    }
}</pre><textarea id="code019ee2c40c3276b399986d7cf8056521" name="code019ee2c40c3276b399986d7cf8056521" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
</channel>
</rss>