mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Set the dom.webxr.unsafe-assume-user-intent pref in the gstreamer plugin's webxr mode
This commit is contained in:
parent
4894e8f2c4
commit
89a2c5175f
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ impl ServoThread {
|
|||
None => Some(webrender_swap_chain),
|
||||
Some(..) => {
|
||||
set_pref!(dom.webxr.sessionavailable, true);
|
||||
set_pref!(dom.webxr.unsafe_assume_user_intent, true);
|
||||
servo.handle_events(vec![WindowEvent::ChangeBrowserVisibility(id, false)]);
|
||||
None
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue