XI2: Avoid a crash in event translation
authorMatthias Clasen <mclasen@redhat.com>
Wed, 20 Jun 2012 11:19:05 +0000 (07:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 20 Jun 2012 11:22:12 +0000 (07:22 -0400)
commite3ca87784ea52d6008fcd34bf85066cb7d8b8497
tree332a848e541d1d88e58b767f339578180fd5272d
parentd571719a3dbefbc12097d67fb13e6b0e2007efb3
XI2: Avoid a crash in event translation

It is possible that we get a DeviceChanged event for a device
that is not in the hash table yet. E.g. I've seen this when
using xrandr to change screen resolution. Prevent a crash in
this case.

https://bugzilla.gnome.org/review?bug=678439
clutter/x11/clutter-device-manager-xi2.c