mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add RefreshMaxmizeResotreButton in Onload
This commit is contained in:
parent
f4974fbcab
commit
5bbe5f5e8f
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ namespace Flow.Launcher
|
||||||
#region General
|
#region General
|
||||||
private void OnLoaded(object sender, RoutedEventArgs e)
|
private void OnLoaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
|
RefreshMaximizeRestoreButton();
|
||||||
// Fix (workaround) for the window freezes after lock screen (Win+L)
|
// Fix (workaround) for the window freezes after lock screen (Win+L)
|
||||||
// https://stackoverflow.com/questions/4951058/software-rendering-mode-wpf
|
// https://stackoverflow.com/questions/4951058/software-rendering-mode-wpf
|
||||||
HwndSource hwndSource = PresentationSource.FromVisual(this) as HwndSource;
|
HwndSource hwndSource = PresentationSource.FromVisual(this) as HwndSource;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue