mirror of
https://github.com/microsoft/PowerToys
synced 2025-08-31 22:45:32 +00:00
Make sure FancyZones Editor window is on top of PowerToys settings window (#911)
This commit is contained in:
committed by
Enrico Giordani
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
|
||||||
|
Reference in New Issue
Block a user