Clean windows when doing anything, to keep tidy
This commit is contained in:
@@ -139,6 +139,7 @@ internal static class Program {
|
|||||||
index = (index - 1) % NumProc;
|
index = (index - 1) % NumProc;
|
||||||
if (index < 0) index = NumProc - 1;
|
if (index < 0) index = NumProc - 1;
|
||||||
if (index >= NumProc) return;
|
if (index >= NumProc) return;
|
||||||
|
CleanWindows();
|
||||||
Console.WriteLine($"Swapping window at index {index}");
|
Console.WriteLine($"Swapping window at index {index}");
|
||||||
var process = GetForegroundProcess();
|
var process = GetForegroundProcess();
|
||||||
if (process == null) return;
|
if (process == null) return;
|
||||||
@@ -178,6 +179,7 @@ internal static class Program {
|
|||||||
index = (index - 1) % NumProc;
|
index = (index - 1) % NumProc;
|
||||||
if (index < 0) index = NumProc - 1;
|
if (index < 0) index = NumProc - 1;
|
||||||
if (index >= NumProc) return;
|
if (index >= NumProc) return;
|
||||||
|
CleanWindows();
|
||||||
Console.WriteLine($"Tab to window at index {index}");
|
Console.WriteLine($"Tab to window at index {index}");
|
||||||
|
|
||||||
var window = windows[index];
|
var window = windows[index];
|
||||||
|
Reference in New Issue
Block a user