using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
// Move focused window to next monitor
BFS.Window.MoveToNextMonitor(windowHandle);
// Get window bounds
var wBounds = BFS.Window.GetBounds(windowHandle);
// Move mouse to center of window
BFS.Input.SetMousePosition(wBounds.Width / 2 + wBounds.X, wBounds.Height / 2 + wBounds.Y);
}
}