Skip to content

Commit

Permalink
[MouseWithoutBorders] - cleaning up code style - microsoft#35155
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeclayton committed Nov 2, 2024
1 parent cd0e83a commit e2bd282
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/modules/MouseWithoutBorders/App/Class/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
using ManagedCommon;
using Microsoft.PowerToys.Settings.UI.Library.Utilities;
using Microsoft.PowerToys.Telemetry;
using MouseWithoutBorders.Core;
using Newtonsoft.Json;
using StreamJsonRpc;

Expand Down
11 changes: 5 additions & 6 deletions src/modules/MouseWithoutBorders/App/Core/Receiver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
using System.Threading.Tasks;
using System.Windows.Forms;

using MouseWithoutBorders.Class;

[module: SuppressMessage("Microsoft.Reliability", "CA2002:DoNotLockOnObjectsWithWeakIdentity", Scope = "member", Target = "MouseWithoutBorders.Common.#PreProcess(MouseWithoutBorders.DATA)", Justification = "Dotnet port with style preservation")]

// <summary>
// Back-end thread for the socket.
// </summary>
Expand All @@ -19,11 +23,6 @@
// 2009-... modified by Truong Do (TruongDo).
// 2023- Included in PowerToys.
// </history>
using MouseWithoutBorders.Class;
using MouseWithoutBorders.Core;

[module: SuppressMessage("Microsoft.Reliability", "CA2002:DoNotLockOnObjectsWithWeakIdentity", Scope = "member", Target = "MouseWithoutBorders.Common.#PreProcess(MouseWithoutBorders.DATA)", Justification = "Dotnet port with style preservation")]

namespace MouseWithoutBorders.Core;

internal static class Receiver
Expand All @@ -36,7 +35,7 @@ internal static class Receiver
internal static long skippedPackageCount;
#pragma warning restore SA1307

internal static long JustGotAKey { get; set; }
private static long JustGotAKey { get; set; }

private static bool PreProcess(DATA package)
{
Expand Down

0 comments on commit e2bd282

Please sign in to comment.