changeset 4147:8d9c3665c86f

RT-31061 On Windows the launcher should ask the foreground permission [ngthomas]
author mhowe
date Sun, 30 Jun 2013 15:14:23 -0700
parents dcb53a5d04ea
children 4915a04d88fc
files deploy/packager/native/windows/WinLauncher.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/packager/native/windows/WinLauncher.cpp	Wed Jun 26 12:20:13 2013 -0700
+++ b/deploy/packager/native/windows/WinLauncher.cpp	Sun Jun 30 15:14:23 2013 -0700
@@ -845,6 +845,9 @@
     // Parse command line arguments to see if /Debug is there
     szArgList = CommandLineToArgvW(GetCommandLine(), &argCount);
 
+    // [RT-31061] otherwise UI can be left in back of other windows
+    AllowSetForegroundWindow(ASFW_ANY);
+
     enableDebugIfNeeded(argCount, szArgList);
 
     if (isDebug) {