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

Unified Diff: ui/aura/root_window_host_x11.cc

Issue 17099003: Use primary display as hangout/gtalk broadcast window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ash/display/display_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_x11.cc
diff --git a/ui/aura/root_window_host_x11.cc b/ui/aura/root_window_host_x11.cc
index 9089183c5e234b0045b3500cc2f775e43ec9e270..e615e68c3671f7aca222b4200d14b3ce38e06ce4 100644
--- a/ui/aura/root_window_host_x11.cc
+++ b/ui/aura/root_window_host_x11.cc
@@ -414,15 +414,6 @@ RootWindowHostX11::RootWindowHostX11(const gfx::Rect& bounds)
32,
PropModeReplace,
reinterpret_cast<unsigned char*>(&pid), 1);
-
- // crbug.com/120229 - set the window title so gtalk can find the primary root
- // window to broadcast.
- // TODO(jhorwich) Remove this once Chrome supports window-based broadcasting.
- static int root_window_number = 0;
- std::string name = base::StringPrintf("aura_root_%d", root_window_number++);
- XStoreName(xdisplay_, xwindow_, name.c_str());
- XRRSelectInput(xdisplay_, x_root_window_,
- RRScreenChangeNotifyMask | RROutputChangeNotifyMask);
Env::GetInstance()->AddObserver(this);
}
« no previous file with comments | « ash/display/display_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698