summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland/ecore_wl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wayland/ecore_wl.c')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index bd68d4ed76..e1b525f8db 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -180,8 +180,6 @@ ecore_wl_init(const char *name)
180 _ecore_wl_disp->idle_enterer = 180 _ecore_wl_disp->idle_enterer =
181 ecore_idle_enterer_add(_ecore_wl_cb_idle_enterer, _ecore_wl_disp); 181 ecore_idle_enterer_add(_ecore_wl_cb_idle_enterer, _ecore_wl_disp);
182 182
183 wl_list_init(&_ecore_wl_disp->inputs);
184
185 _ecore_wl_disp->wl.registry = 183 _ecore_wl_disp->wl.registry =
186 wl_display_get_registry(_ecore_wl_disp->wl.display); 184 wl_display_get_registry(_ecore_wl_disp->wl.display);
187 wl_registry_add_listener(_ecore_wl_disp->wl.registry, 185 wl_registry_add_listener(_ecore_wl_disp->wl.registry,
@@ -426,14 +424,14 @@ _ecore_wl_shutdown(Eina_Bool close)
426 if ((close) && (!_ecore_wl_fatal_error)) 424 if ((close) && (!_ecore_wl_fatal_error))
427 { 425 {
428 Ecore_Wl_Output *out; 426 Ecore_Wl_Output *out;
429 Ecore_Wl_Input *in, *tin; 427 Ecore_Wl_Input *in;
430 Ecore_Wl_Global *global; 428 Ecore_Wl_Global *global;
431 Eina_Inlist *tmp; 429 Eina_Inlist *tmp;
432 430
433 EINA_INLIST_FOREACH_SAFE(_ecore_wl_disp->outputs, tmp, out) 431 EINA_INLIST_FOREACH_SAFE(_ecore_wl_disp->outputs, tmp, out)
434 _ecore_wl_output_del(out); 432 _ecore_wl_output_del(out);
435 433
436 wl_list_for_each_safe(in, tin, &_ecore_wl_disp->inputs, link) 434 EINA_INLIST_FOREACH_SAFE(_ecore_wl_disp->inputs, tmp, in)
437 _ecore_wl_input_del(in); 435 _ecore_wl_input_del(in);
438 436
439 EINA_INLIST_FOREACH_SAFE(_ecore_wl_disp->globals, tmp, global) 437 EINA_INLIST_FOREACH_SAFE(_ecore_wl_disp->globals, tmp, global)