Make sure FancyZones Editor window is on top of PowerToys settings window (#911)
This commit is contained in:
parent
22e13e8c40
commit
31c4ab8ac0
|
@ -95,7 +95,12 @@ namespace FancyZonesEditor
|
||||||
MainWindow window = new MainWindow();
|
MainWindow window = new MainWindow();
|
||||||
window.Owner = this;
|
window.Owner = this;
|
||||||
window.ShowActivated = true;
|
window.ShowActivated = true;
|
||||||
|
window.Topmost = true;
|
||||||
window.Show();
|
window.Show();
|
||||||
|
|
||||||
|
// window is set to topmost to make sure it shows on top of PowerToys settings page
|
||||||
|
// we can reset topmost flag now
|
||||||
|
window.Topmost = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// These event handlers are used to track the current state of the Shift and Ctrl keys on the keyboard
|
// These event handlers are used to track the current state of the Shift and Ctrl keys on the keyboard
|
||||||
|
|
Loading…
Reference in a new issue