diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-09-20 06:54:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 06:54:19 -0400 |
commit | 293ccd07e8031dc0040d58c25621eac6e7c41df0 (patch) | |
tree | 920c354b22e05779b6c84c73d23bde714ce8a490 /python/servo/build_commands.py | |
parent | 748fa72320dcf73964ccf79d8d84e80c6031df37 (diff) | |
parent | ea7b58153723f7ef6a6fa2a9b73c71c3bf3295e0 (diff) | |
download | servo-293ccd07e8031dc0040d58c25621eac6e7c41df0.tar.gz servo-293ccd07e8031dc0040d58c25621eac6e7c41df0.zip |
Auto merge of #24133 - paulrouget:userAction, r=jdm
Do not allow XR session on non user-activated events
This sets the thread in "user interaction mode" when the dispatched event is trusted. I also tried an approach where we would not rely on the dispatched event but just set "user interaction mode" when we get a compositor event (which, we can assume, are only user generated). That worked as well.
Fixes #23787.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24133)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/build_commands.py')
0 files changed, 0 insertions, 0 deletions