mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1062438 Hamachi asserting on unknown touch type. r=mwu
This commit is contained in:
parent
fbba7c558a
commit
af4c957798
@ -705,6 +705,11 @@ GeckoInputDispatcher::notifyMotion(const NotifyMotionArgs* args)
|
||||
case AMOTION_EVENT_ACTION_CANCEL:
|
||||
touchType = MultiTouchInput::MULTITOUCH_CANCEL;
|
||||
break;
|
||||
case AMOTION_EVENT_ACTION_HOVER_EXIT:
|
||||
case AMOTION_EVENT_ACTION_HOVER_ENTER:
|
||||
case AMOTION_EVENT_ACTION_HOVER_MOVE:
|
||||
NS_WARNING("Ignoring hover touch events");
|
||||
return;
|
||||
default:
|
||||
MOZ_ASSERT_UNREACHABLE("Could not assign a touch type");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user