MethodName
This commit is contained in:
parent
68b220a8d4
commit
db52e10d48
@ -50,7 +50,7 @@ public class Blur
|
||||
if(windowInfo is {WindowHandle: 0x0})//No WindowInfo found
|
||||
continue;
|
||||
|
||||
if(GetBlurWindow(windowInfo))
|
||||
if(ShouldWindowBeBlurred(windowInfo))
|
||||
if(!maximixedWindowReached)
|
||||
BlurWindow(windowInfo);
|
||||
else if(maximixedWindowReached)
|
||||
@ -65,7 +65,7 @@ public class Blur
|
||||
DeleteBlur(blurredWindow);
|
||||
}
|
||||
|
||||
private bool GetBlurWindow(WindowInfo windowInfo)
|
||||
private bool ShouldWindowBeBlurred(WindowInfo windowInfo)
|
||||
{
|
||||
foreach(string program in _blurPrograms)
|
||||
if (windowInfo.ProcessInfo.ProcessName.Contains(program, StringComparison.OrdinalIgnoreCase))
|
||||
|
Loading…
Reference in New Issue
Block a user