mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1036653 - changes to webrtcUI to support applications
This commit is contained in:
parent
d8148ee08e
commit
81f56e0ef8
@ -349,7 +349,9 @@ function prompt(aContentWindow, aCallID, aAudio, aVideo, aDevices, aSecure) {
|
||||
// Finally add all the window names.
|
||||
let separatorNeeded = true;
|
||||
for (let i = 0; i < devices.length; ++i) {
|
||||
if (devices[i].mediaSource == "window") {
|
||||
// treat window and application as the same for UI purposes
|
||||
let deviceMediaSource = devices[i].mediaSource;
|
||||
if (deviceMediaSource == "window" || deviceMediaSource == "application") {
|
||||
if (separatorNeeded) {
|
||||
menupopup.appendChild(chromeDoc.createElement("menuseparator"));
|
||||
separatorNeeded = false;
|
||||
|
Loading…
Reference in New Issue
Block a user