Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
wayland: simpler layout for controller::proxy_to_id maps
[staging/windowmanager.git]
/
src
/
wayland.cpp
diff --git
a/src/wayland.cpp
b/src/wayland.cpp
index
4678661
..
af28edf
100644
(file)
--- a/
src/wayland.cpp
+++ b/
src/wayland.cpp
@@
-205,10
+205,10
@@
controller::controller(struct wl_registry *r, uint32_t name, uint32_t version)
: wayland_proxy(
wl_registry_bind(r, name, &ivi_controller_interface, version)),
surface_proxy_to_id{},
: wayland_proxy(
wl_registry_bind(r, name, &ivi_controller_interface, version)),
surface_proxy_to_id{},
- surfaces{},
layer_proxy_to_id{},
layer_proxy_to_id{},
- layers{},
screen_proxy_to_id{},
screen_proxy_to_id{},
+ surfaces{},
+ layers{},
screens{},
pending{},
output_size{} {
screens{},
pending{},
output_size{} {
@@
-721,6
+721,7
@@
void controller::execute_pending() {
// XXX: No flush here...
}
}
// XXX: No flush here...
}
}
+
//
// ___ ___ _ __ ___ ___ _ __
// / __|/ __| '__/ _ \/ _ \ '_ \
//
// ___ ___ _ __ ___ ___ _ __
// / __|/ __| '__/ _ \/ _ \ '_ \