Efl.Input.Device: Do not ref/unref devices children devices.
authorGuilherme Iscaro <iscaro@profusion.mobi>
Thu, 1 Dec 2016 18:14:11 +0000 (16:14 -0200)
committerBruno Dilly <bdilly@profusion.mobi>
Fri, 2 Dec 2016 17:12:56 +0000 (15:12 -0200)
commite0af7384a2edf4d6ebb33bec88dc72c672b84150
treec2109cae110e9b2c7e5a15fdeee6f9398ad80f38
parent345fec274730ff8b14f41009fba89767d17f38fa
Efl.Input.Device: Do not ref/unref devices children devices.

When a mouse/keyboard is removed from its seat under the Wayland backend,
it was not immediately deleted from EFL, because its parent was keeping
a reference to it. Since the mouse/keyboard is no longer present in the system
there's no reason the keep them around. To prevent this delayed deletion do
not ref/unref them when the parent is set.
src/lib/efl/interfaces/efl_input_device.c