close #65 Hide when app loses focus

This commit is contained in:
qianlifeng
2014-04-13 10:08:33 +08:00
parent 54417115f3
commit 36f3c293f0
5 changed files with 31 additions and 1 deletions

View File

@@ -299,7 +299,13 @@ namespace Wox
}
}
private void MainWindow_OnDeactivated(object sender, EventArgs e)
{
if (UserSettingStorage.Instance.HideWhenDeactive)
{
HideWox();
}
}
private bool KListener_hookedKeyboardCallback(KeyEvent keyevent, int vkcode, SpecialKeyState state)
{
@@ -554,5 +560,7 @@ namespace Wox
}
return false;
}
}
}