Skip to content

x11/clutter-device-manager-xi2: Added checking for device and source_device are NULL

Jos Collin requested to merge jcollin/mutter:wip-source-device-fix into master

Added checking for device and source_device becomes NULL under the case XI_Enter|XI_Leave. We have encountered instances in which the source_device becomes NULL and as a consequence the call to _clutter_input_device_reset_scroll_info() causes a crash. Please verify the fix and let me know if I can combine the two 'if(source_device)' conditions into one. I think those calls are supposed to be in that sequence?

Signed-off-by: Jos Collin jcollin@redhat.com

Merge request reports