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

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
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..1ea470ad57602854ff39a3852985cd986289a482 100644
--- a/ui/aura/root_window_host_x11.cc
+++ b/ui/aura/root_window_host_x11.cc
@@ -418,9 +418,11 @@ RootWindowHostX11::RootWindowHostX11(const gfx::Rect& bounds)
// 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());
+ */
Josh Horwich 2013/06/14 22:44:03 Why not just remove this code and the above commen
oshima 2013/06/14 23:10:01 Doh, I thought I did, but looks like I didn't save
XRRSelectInput(xdisplay_, x_root_window_,
RRScreenChangeNotifyMask | RROutputChangeNotifyMask);
Env::GetInstance()->AddObserver(this);
« ash/display/display_controller_unittest.cc ('K') | « ash/display/display_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698