forked from enlightenment/efl
ecore-wl2: Cleanup inputs on display disconnect/destroy
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
10efbbd416
commit
9a9d120c44
|
@ -251,8 +251,13 @@ static void
|
|||
_ecore_wl2_display_cleanup(Ecore_Wl2_Display *ewd)
|
||||
{
|
||||
Ecore_Wl2_Output *output;
|
||||
Ecore_Wl2_Input *input;
|
||||
Eina_Inlist *tmp;
|
||||
|
||||
/* free each input */
|
||||
EINA_INLIST_FOREACH_SAFE(ewd->inputs, tmp, input)
|
||||
_ecore_wl2_input_del(input);
|
||||
|
||||
/* free each output */
|
||||
EINA_INLIST_FOREACH_SAFE(ewd->outputs, tmp, output)
|
||||
_ecore_wl2_output_del(output);
|
||||
|
|
Loading…
Reference in New Issue