X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwindow_manager.cpp;h=62bbbcb59089b6360359ab9481070580ca8a7d43;hb=5c74a62af029d1138416a76a6d44d1711ce97ff6;hp=4a155c9732b15917c47c94f3a32dd5806145d729;hpb=0caf87a20096309a04fb2be1862de31bd573e564;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/src/window_manager.cpp b/src/window_manager.cpp index 4a155c9..62bbbcb 100644 --- a/src/window_manager.cpp +++ b/src/window_manager.cpp @@ -185,12 +185,12 @@ int WindowManager::init() // This protocol needs the output, so lets just add our mapping here... this->controller->add_proxy_to_id_mapping( - this->outputs.back()->proxy.get(), + this->outputs.front()->proxy.get(), wl_proxy_get_id(reinterpret_cast( - this->outputs.back()->proxy.get()))); + this->outputs.front()->proxy.get()))); // Create screen - this->controller->create_screen(this->outputs.back()->proxy.get()); + this->controller->create_screen(this->outputs.front()->proxy.get()); // Set display to controller this->controller->display = this->display;