summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs')
-rw-r--r--modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs b/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs
index cc0deb6cc0..8e8eaa79b8 100644
--- a/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs
+++ b/modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs
@@ -129,7 +129,7 @@ namespace GodotTools.OpenVisualStudio
{
var mainWindow = dte.MainWindow;
mainWindow.Activate();
- SetForegroundWindow(new IntPtr(mainWindow.HWnd));
+ SetForegroundWindow(mainWindow.HWnd);
MessageFilter.Revoke();
}