Skip to content

Commit

Permalink
Ready for Review - [Mouse Without Borders] - refactoring "Common" cla…
Browse files Browse the repository at this point in the history
…sses (Part 3) - #35155 (#36950)

* [MWB] - refactoring MachineInf from Common.MachineStuff.cs into MachineInf.cs - #35155

* [MWB] - fixing references to MachineInf - #35155

* [MWB] - cleaning up MachineInf.cs - #35155

* [MWB] - moving MyRectangle from Common.MachineStuff.cs into MyRectangle.cs - #35155

* [MWB] - cleaning up MyRectangle.cs - #35155

* [MWB] - moving Common.MachineStuff.cs to MachineStuff.cs - #35155

* [MWB] - fixing references to MachineStuff - #35155

* [MWB] - cleaning up MachineStuff.cs - #35155

* [MWB] - cleaning up MachineStuff.cs - #35155

* [MWB] - moving Common.DragDrop.cs to DragDrop.cs - #35155

* [MWB] - fixing references to DragDrop - #35155

* [MWB] - fixing unit test - #35155

* [MWB] - cleaning up DragDrop.cs - #35155

* [MWB] - cleaning up DragDrop.cs - #35155
  • Loading branch information
mikeclayton authored Feb 21, 2025
1 parent 273a45f commit 6515374
Show file tree
Hide file tree
Showing 32 changed files with 1,889 additions and 1,845 deletions.
4 changes: 2 additions & 2 deletions src/modules/MouseWithoutBorders/App/Class/Common.Clipboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ private static void ConnectAndGetData(object postAction)
if (!IsConnectedByAClientSocketTo(remoteMachine))
{
Logger.Log($"No potential inbound connection from {MachineName} to {remoteMachine}, ask for a push back instead.");
ID machineId = MachinePool.ResolveID(remoteMachine);
ID machineId = MachineStuff.MachinePool.ResolveID(remoteMachine);

if (machineId != ID.NONE)
{
Expand Down Expand Up @@ -840,7 +840,7 @@ internal static bool ShakeHand(ref string remoteName, Socket s, out Stream enStr

Logger.LogDebug($"{nameof(ShakeHand)}: Connection from {name}:{package.Src}");

if (Common.MachinePool.ResolveID(name) == package.Src && Common.IsConnectedTo(package.Src))
if (MachineStuff.MachinePool.ResolveID(name) == package.Src && Common.IsConnectedTo(package.Src))
{
clientPushData = package.Type == PackageType.ClipboardPush;
postAction = package.PostAction;
Expand Down
Loading

0 comments on commit 6515374

Please sign in to comment.