Make sure FancyZones Editor window is on top of PowerToys settings window (#911)

This commit is contained in:
vldmr11080 2019-12-11 09:41:05 +01:00 committed by Enrico Giordani
parent 22e13e8c40
commit 31c4ab8ac0

View file

@ -95,7 +95,12 @@ namespace FancyZonesEditor
MainWindow window = new MainWindow();
window.Owner = this;
window.ShowActivated = true;
window.Topmost = true;
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