diff --git a/MSFSPopoutPanelManager.csproj b/MSFSPopoutPanelManager.csproj
index 3a80810..92147df 100644
--- a/MSFSPopoutPanelManager.csproj
+++ b/MSFSPopoutPanelManager.csproj
@@ -5,7 +5,7 @@
net5.0-windows
true
x64
- 2.0.1
+ 2.0.2
MSFSPopoutPanelManager
MSFSPopoutPanelManager
WindowManager.ico
diff --git a/Modules/PanelAnalysisModule.cs b/Modules/PanelAnalysisModule.cs
index 5c567c9..eab1902 100644
--- a/Modules/PanelAnalysisModule.cs
+++ b/Modules/PanelAnalysisModule.cs
@@ -240,14 +240,17 @@ namespace MSFSPopoutPanelManager
switch (rect.Bottom)
{
+ case 1009:
case 1080:
return FlightSimResolution.HD;
+ case 1369:
case 1440:
return FlightSimResolution.QHD;
+ case 2089:
case 2160:
return FlightSimResolution.UHD;
default:
- return FlightSimResolution.QHD;
+ return FlightSimResolution.HD;
}
}
@@ -326,6 +329,9 @@ namespace MSFSPopoutPanelManager
var point = new Point { X = x, Y = y };
Cursor.Position = new Point(point.X, point.Y);
+ // Wait for mouse to get into position
+ Thread.Sleep(1000);
+
PInvoke.mouse_event(MOUSEEVENTF_LEFTDOWN, point.X, point.Y, 0, 0);
Thread.Sleep(200);
PInvoke.mouse_event(MOUSEEVENTF_LEFTUP, point.X, point.Y, 0, 0);
diff --git a/VERSION.md b/VERSION.md
index 3268247..476eabd 100644
--- a/VERSION.md
+++ b/VERSION.md
@@ -1,5 +1,8 @@
# Version History
+## Vesion 2.0.2.0
+* Added one second delay on mouse click when the application is trying to separate the chained pop out windows.
+
## Vesion 2.0.1.0
* Changed how screen resolution is detected. Used vertical instead of horizontal resolution to account for ultra wide monitors.