Revert "evas: Fix use of invalid EO object"
authorMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:44:43 +0000 (15:44 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Fri, 28 Jul 2017 19:40:47 +0000 (15:40 -0400)
This reverts commit 9b1e785f8ebba618016dd217aa18835b4fb675b7.

this breaks devices with vt switching under drm

src/lib/evas/canvas/evas_device.c

index 84f3644..d352b3c 100644 (file)
@@ -243,8 +243,6 @@ evas_device_add_full(Evas *eo_e, const char *name, const char *desc,
           }
      }
 
-   // FIXME: All devices are in the same list, while evas only refs the seats
-   if (parent_dev) efl_ref(dev);
    e->devices = eina_list_append(e->devices, dev);
    efl_event_callback_add(dev, EFL_EVENT_DEL, _del_cb, e);