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

Unified Diff: ash/display/display_manager.cc

Issue 12087124: Disable touch calibration on external touchscreen. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix Win compilation take 2 + rebase Created 7 years, 11 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
« no previous file with comments | « no previous file | ash/host/root_window_host_factory.h » ('j') | ui/aura/root_window.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 1522564706f59b8c9ad84077ef1406f4676b022d..04836e2463432765d3bf14c8fde3586a8fe93e26 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -334,9 +334,11 @@ RootWindow* DisplayManager::CreateRootWindowForDisplay(
const gfx::Display& display) {
static int root_window_count = 0;
- RootWindow::CreateParams params(display.bounds_in_pixel());
+ RootWindow::CreateParams params(display.bounds_in_pixel(),
+ IsInternalDisplayId(display.id()));
params.host = Shell::GetInstance()->root_window_host_factory()->
- CreateRootWindowHost(display.bounds_in_pixel());
+ CreateRootWindowHost(display.bounds_in_pixel(),
+ IsInternalDisplayId(display.id()));
aura::RootWindow* root_window = new aura::RootWindow(params);
root_window->SetName(StringPrintf("RootWindow-%d", root_window_count++));
« no previous file with comments | « no previous file | ash/host/root_window_host_factory.h » ('j') | ui/aura/root_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698