mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
~Changed how the fullscreen detection work. Checking by Topmost was a stupid idea. It will now check for the window to fill the whole screen area.
This commit is contained in:
@@ -362,11 +362,11 @@ namespace Wox
|
||||
/// <returns></returns>
|
||||
private bool ShouldIgnoreHotkeys()
|
||||
{
|
||||
|
||||
if (!IsVisible
|
||||
&& UserSettingStorage.Instance.IgnoreHotkeysOnTopMostFocus
|
||||
&& WindowIntelopHelper.IsForegroundWindowTopMost())
|
||||
return true;
|
||||
//double if to omit calling win32 function
|
||||
if (UserSettingStorage.Instance.IgnoreHotkeysOnTopMostFocus)
|
||||
if(WindowIntelopHelper.IsWindowFullscreen())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user