[PowerToys Run] Add "ignore hotkeys in fullscreen" setting (#3262) (#3604)

Connect Wox's existing "ignore hotkeys in fullscreen mode" setting to PowerLauncher and the PowerToys settings UI.

This allows PowerLauncher to ignore hotkeys if any application is currently in fullscreen mode, whether it's real exclusive fullscreen or borderless windowed mode. This applies to things like fullscreen games, video and presentations but not maximized windows.
This commit is contained in:
smiley
2020-06-04 20:21:16 +03:00
committed by GitHub
parent fb3f4fa0a8
commit 7c7ccc3a07
5 changed files with 34 additions and 0 deletions

View File

@@ -66,6 +66,11 @@ namespace PowerLauncher
{
_settings.MaxResultsToShow = overloadSettings.properties.maximum_number_of_results;
}
if (_settings.IgnoreHotkeysOnFullscreen != overloadSettings.properties.ignore_hotkeys_in_fullscreen)
{
_settings.IgnoreHotkeysOnFullscreen = overloadSettings.properties.ignore_hotkeys_in_fullscreen;
}
}
catch (Exception e)
{