Code Review
/
apps
/
agl-service-windowmanager-2017.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix WM attach layers to different screen.
[apps/agl-service-windowmanager-2017.git]
/
src
/
window_manager.cpp
diff --git
a/src/window_manager.cpp
b/src/window_manager.cpp
index
c57ab09
..
76b5939
100644
(file)
--- 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 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<struct wl_proxy *>(
wl_proxy_get_id(reinterpret_cast<struct wl_proxy *>(
- this->outputs.
back
()->proxy.get())));
+ this->outputs.
front
()->proxy.get())));
// Create screen
// 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;
// Set display to controller
this->controller->display = this->display;