Cleanup
This commit is contained in:
parent
e2851dd811
commit
d3e623ce26
@ -53,7 +53,7 @@ public class Blur
|
||||
else if(maximixedWindowReached)
|
||||
DeleteBlur(windowInfo);
|
||||
|
||||
if (windowInfo.WindowCommands is ShowWindowCommands.Maximize)
|
||||
if (windowInfo.WindowCommands is ShowWindowCommands.Maximize or ShowWindowCommands.ShowMaximized)
|
||||
maximixedWindowReached = true;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
|
||||
Blur _ = new Blur("ws://localhost:4444", "", new []{"Desktop"}, new []{ "Discord", "VRCX" });
|
||||
Blur _ = new ("ws://localhost:4444", "", new []{"Desktop"}, new []{ "Discord", "VRCX" });
|
||||
|
||||
while (true)
|
||||
Thread.Sleep(100);
|
@ -5,8 +5,6 @@ namespace OBSBlur.Window;
|
||||
|
||||
public partial class WindowManager
|
||||
{
|
||||
[DllImport("user32.dll")]
|
||||
private static extern IntPtr GetForegroundWindow();
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);
|
||||
|
Loading…
Reference in New Issue
Block a user