summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2015-07-15 13:00:44 -0500
committerBryce Harrington <bryce@osg.samsung.com>2015-07-31 15:15:46 -0700
commit30ce607682975420d5405bd3f4fbf33ca2163fb0 (patch)
treec29f99fc8fa299db2e4d7031391349dea9029753 /desktop-shell
parentd95637905861162c08251843acccc11e509b5d94 (diff)
downloadweston-30ce607682975420d5405bd3f4fbf33ca2163fb0.tar.gz
input: Check device counts in bind_seat()
We shouldn't be using seat->pointer|keyboard|touch here, we should be testing *_device_count to see if a device is currently present. Testing the pointers directly will result in incorrectly advertising capabilities after all devices of a type have been removed. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Jonas Ã…dahl <jadahl@gmail.com>
Diffstat (limited to 'desktop-shell')
0 files changed, 0 insertions, 0 deletions