[MWB]Hide cursor when positioning to the top of screen (#26447)

This commit is contained in:
Jaime Bernardo 2023-05-30 09:45:27 +01:00 committed by GitHub
parent 0c69e3422c
commit 4905258c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -923,7 +923,9 @@ namespace MouseWithoutBorders.Class
}
}
internal bool StealFocusWhenSwitchingMachine => _properties.StealFocusWhenSwitchingMachine;
// Was a value read from registry on original Mouse Without Border, but default should be true. We wrongly released it as false, so we're forcing true here.
// This value wasn't changeable from UI, anyway.
internal bool StealFocusWhenSwitchingMachine => true;
private string deviceId;

View File

@ -107,9 +107,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
[JsonConverter(typeof(BoolPropertyJsonConverter))]
public bool FirstCtrlShiftS { get; set; }
[JsonConverter(typeof(BoolPropertyJsonConverter))]
public bool StealFocusWhenSwitchingMachine { get; set; }
public StringProperty DeviceID { get; set; }
public MouseWithoutBordersProperties()
@ -151,7 +148,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
Name2IP = new StringProperty(string.Empty);
UseVKMap = false;
FirstCtrlShiftS = false;
StealFocusWhenSwitchingMachine = false;
}
public object Clone()