- From: guest271314 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 May 2020 06:25:07 +0000
- To: public-webrtc-logs@w3.org
Workaround for Chromium 81 (stable) which does gain focus when `prompt()` is used and the screen selected is an application. Firefox doe not gain focus using the same code. ``` const retainFocus = true; onclick = async _ => { onclick = null; const stream = await navigator.mediaDevices.getDisplayMedia({video: true}); if (retainFocus) { prompt('Retain focus', 'Ok'); }; }; ``` -- GitHub Notification of comment by guest271314 Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/138#issuecomment-625055076 using your GitHub account
Received on Thursday, 7 May 2020 06:25:13 UTC