weston/desktop-shell
Derek Foreman 60d97311be desktop-shell: Don't call wl_list_init() in the middle of a list
seat->keyboard_focus_listener.link isn't a head, it's just sometimes a
member of the focus signal list.  Calling wl_list_init() on it puts
a loop in the list.

Instead, we remove the item then init it.  That way we can call remove on
it again later even if it hasn't been re-added to a list.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
2015-07-31 15:15:59 -07:00
..
exposay.c exposay: Fix use after free when a view is destroyed during animation 2015-07-17 19:02:28 -07:00
input-panel.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
shell.c desktop-shell: Don't call wl_list_init() in the middle of a list 2015-07-31 15:15:59 -07:00
shell.h input: Pass the appropriate pointer type to bindings instead of a seat 2015-07-16 19:03:43 -07:00