libweston: Position layers in an absolute way
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Sat, 17 Dec 2016 12:40:51 +0000 (13:40 +0100)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 17 Jan 2017 14:50:18 +0000 (16:50 +0200)
commit82681571cf2407ed61bd1d29065583ddd4c2e525
tree876f2e1d8b2094424c513d93490e11ed444dc462
parent39d7e99a461dc43385381d465891bdcfbb67be5c
libweston: Position layers in an absolute way

Currently, layers’ order depends on the module loading order and it does
not survive runtime modifications (like shell locking/unlocking).
With this patch, modules can safely add their own layer at the expected
position in the stack, with runtime persistence.

v4 Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Acked-by: Daniel Stone <daniels@collabora.com>
[Pekka: fix three whitespace issues]
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/input-panel.c
desktop-shell/shell.c
fullscreen-shell/fullscreen-shell.c
ivi-shell/input-panel-ivi.c
ivi-shell/ivi-layout.c
ivi-shell/ivi-shell.c
libweston-desktop/xwayland.c
libweston/compositor.c
libweston/compositor.h
tests/weston-test.c