new feature: ctrl click pw icon to restore foreground window to its last closing position

This commit is contained in:
Kang Yu 2023-09-14 13:02:20 -07:00
parent 42533389f2
commit 5999a5bff6
3 changed files with 13 additions and 6 deletions

View file

@ -543,6 +543,11 @@ namespace PersistentWindows.SystrayShell
pwp.FgWindowToBottom();
}
static public void RecallLastKilledPosition()
{
pwp.RecallLastKilledPosition(pwp.GetForegroundWindow());
}
static public void PauseAutoRestore()
{
pwp.pauseAutoRestore = true;