Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2020)

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 2685333005: ash: fix regression where ctrl+n put new window on wrong desktop (Closed)
Patch Set: rebase to tot Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index 0e4d12174b1f35ac32dc100bf098a805cf4d2c5a..640f2c1c2f0c1badd3f899d9997695a273894b66 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -641,6 +641,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
params.initial_show_state = show_state;
params.initial_workspace = workspace;
params.is_session_restore = true;
+ params.user_gesture = false;
return new Browser(params);
}

Powered by Google App Engine
This is Rietveld 408576698