| Index: services/ui/ws/window_manager_display_root.cc
|
| diff --git a/services/ui/ws/window_manager_display_root.cc b/services/ui/ws/window_manager_display_root.cc
|
| index f8ff144b2b3b1e735e2eb5037d33b3547b97ce3b..d9eb5b3c0a59ae2baab52f95992b37192279abef 100644
|
| --- a/services/ui/ws/window_manager_display_root.cc
|
| +++ b/services/ui/ws/window_manager_display_root.cc
|
| @@ -15,11 +15,14 @@ WindowManagerDisplayRoot::WindowManagerDisplayRoot(Display* display)
|
| : display_(display) {
|
| root_.reset(window_server()->CreateServerWindow(
|
| window_server()->display_manager()->GetAndAdvanceNextRootId(),
|
| - ServerWindow::Properties()));
|
| + ServerWindow::Properties(), allocator_.GenerateId()));
|
| + fprintf(stderr, ">>>WindowManagerDisplayRoot %d\n",
|
| + WindowIdToTransportId(root_->id()));
|
| // Our root is always a child of the Display's root. Do this
|
| // before the WindowTree has been created so that the client doesn't get
|
| // notified of the add, bounds change and visibility change.
|
| - root_->SetBounds(gfx::Rect(display->root_window()->bounds().size()));
|
| + root_->SetBounds(gfx::Rect(display->root_window()->bounds().size()),
|
| + allocator_.GenerateId());
|
| root_->SetVisible(true);
|
| display->root_window()->Add(root_.get());
|
| }
|
|
|