mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752674 - device proximity needs y and z values. r=blassey
This commit is contained in:
parent
882e9642c4
commit
508b5e26f9
@ -329,13 +329,13 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
case hal::SENSOR_LINEAR_ACCELERATION:
|
||||
case hal::SENSOR_ACCELERATION:
|
||||
case hal::SENSOR_GYROSCOPE:
|
||||
case hal::SENSOR_PROXIMITY:
|
||||
values.AppendElement(curEvent->X());
|
||||
values.AppendElement(curEvent->Y());
|
||||
values.AppendElement(curEvent->Z());
|
||||
break;
|
||||
|
||||
case hal::SENSOR_LIGHT:
|
||||
case hal::SENSOR_PROXIMITY:
|
||||
values.AppendElement(curEvent->X());
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user