summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/canvas/evas_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_device.c b/src/lib/evas/canvas/evas_device.c
index 574f6e2..783497a 100644
--- a/src/lib/evas/canvas/evas_device.c
+++ b/src/lib/evas/canvas/evas_device.c
@@ -207,6 +207,8 @@ evas_device_add_full(Evas *eo_e, const char *name, const char *desc,
207 e->default_mouse = dev; 207 e->default_mouse = dev;
208 } 208 }
209 209
210 // FIXME: All devices are in the same list, while evas only refs the seats
211 if (parent_dev) efl_ref(dev);
210 e->devices = eina_list_append(e->devices, dev); 212 e->devices = eina_list_append(e->devices, dev);
211 efl_event_callback_add(dev, EFL_EVENT_DEL, _del_cb, e); 213 efl_event_callback_add(dev, EFL_EVENT_DEL, _del_cb, e);
212 214