-
Derek Foreman authored
commit e7fff215 made initializing the selection_listener conditional, but didn't make its clean-up conditional at shutdown. Simply initializing the listener's list link at init time makes this harmless. To see this, run weston -Bheadless-backend.so and then connect to it with an X client. When killing weston it will attempt shutdown but die with a segfault. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
4b72ff0e