mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 968267 - Passive updates might not restart properly in metro mode. r=bbondy
This commit is contained in:
parent
cdd2d8e1f9
commit
4a4ca69f15
@ -549,7 +549,9 @@ SwitchToUpdatedApp(nsIFile *greDir, nsIFile *updateDir, nsIFile *statusFile,
|
||||
|
||||
int immersiveArgc = 0;
|
||||
#if defined(XP_WIN) && defined(MOZ_METRO)
|
||||
if (IsWindowsMetroUpdateRequest(appArgc, appArgv)) {
|
||||
// If this is desktop doing an update for metro, or if we're the metro browser
|
||||
// we want to launch the metro browser after we're finished.
|
||||
if (IsWindowsMetroUpdateRequest(appArgc, appArgv) || IsRunningInWindowsMetro()) {
|
||||
immersiveArgc = 1;
|
||||
}
|
||||
#endif
|
||||
@ -833,7 +835,9 @@ ApplyUpdate(nsIFile *greDir, nsIFile *updateDir, nsIFile *statusFile,
|
||||
|
||||
int immersiveArgc = 0;
|
||||
#if defined(XP_WIN) && defined(MOZ_METRO)
|
||||
if (IsWindowsMetroUpdateRequest(appArgc, appArgv)) {
|
||||
// If this is desktop doing an update for metro, or if we're the metro browser
|
||||
// we want to launch the metro browser after we're finished.
|
||||
if (IsWindowsMetroUpdateRequest(appArgc, appArgv) || IsRunningInWindowsMetro()) {
|
||||
immersiveArgc = 1;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user