Fix data device handling.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Tue, 7 Feb 2012 14:37:11 +0000 (16:37 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Tue, 7 Feb 2012 15:17:17 +0000 (16:17 +0100)
commit39aacb4dd11b6745a32d4404cee207c047177b07
tree6b8029d0cdecf67dbe19454ba8ca270f75c9ccf3
parent083ece74feedb93c0ed208017658c85a4bb1e532
Fix data device handling.

Clearing the device list on resource destroy is wrong: it cleans away
data devices for all clients. Calling free when removing stale devices
for a client is also wrong.

Change-Id: I7bfcc928762dc4ca7dbf5abeebcd2489956e6828
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/compositor/wayland_wrapper/wlinputdevice.cpp
src/compositor/wayland_wrapper/wlinputdevice.h