aboutsummaryrefslogtreecommitdiffstats
path: root/components/webxr/openxr/input.rs
diff options
context:
space:
mode:
authorwebbeef <me@webbeef.org>2025-01-31 00:17:39 -0800
committerGitHub <noreply@github.com>2025-01-31 08:17:39 +0000
commit42b581a6f6a303679329acab928dc4396d1b281a (patch)
tree6bc007310c9c44f8f638d45e4429235092e4d2c2 /components/webxr/openxr/input.rs
parentad07db0b0c10a17623d13f34529b54bc49ba7a21 (diff)
downloadservo-42b581a6f6a303679329acab928dc4396d1b281a.tar.gz
servo-42b581a6f6a303679329acab928dc4396d1b281a.zip
Fix crash in screenX and screenY getters returning negative values (#35235)
Instead of casting the window client rect to `u32`, keep it as `i32` and just cast the size dimensions to `u32`. Signed-off-by: webbeef <me@webbeef.org>
Diffstat (limited to 'components/webxr/openxr/input.rs')
0 files changed, 0 insertions, 0 deletions