mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
[MWB]Hide cursor when positioning to the top of screen (#26447)
This commit is contained in:
@@ -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;
|
private string deviceId;
|
||||||
|
|
||||||
|
|||||||
@@ -107,9 +107,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
|||||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
||||||
public bool FirstCtrlShiftS { get; set; }
|
public bool FirstCtrlShiftS { get; set; }
|
||||||
|
|
||||||
[JsonConverter(typeof(BoolPropertyJsonConverter))]
|
|
||||||
public bool StealFocusWhenSwitchingMachine { get; set; }
|
|
||||||
|
|
||||||
public StringProperty DeviceID { get; set; }
|
public StringProperty DeviceID { get; set; }
|
||||||
|
|
||||||
public MouseWithoutBordersProperties()
|
public MouseWithoutBordersProperties()
|
||||||
@@ -151,7 +148,6 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
|||||||
Name2IP = new StringProperty(string.Empty);
|
Name2IP = new StringProperty(string.Empty);
|
||||||
UseVKMap = false;
|
UseVKMap = false;
|
||||||
FirstCtrlShiftS = false;
|
FirstCtrlShiftS = false;
|
||||||
StealFocusWhenSwitchingMachine = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public object Clone()
|
public object Clone()
|
||||||
|
|||||||
Reference in New Issue
Block a user