mirror of
https://github.com/vector-im/element-desktop.git
synced 2024-09-17 01:35:12 +00:00
Disabled HardwareMediaKeyHandling, fixes vector-im/element-web#15704
Signed-off-by: Tom Van Eyck <tom.vaneyck@telenet.be>
This commit is contained in:
parent
100f08161d
commit
cdbda52d9a
1 changed files with 2 additions and 0 deletions
|
@ -814,6 +814,8 @@ protocol.registerSchemesAsPrivileged([{
|
||||||
// transition into the user's browser.
|
// transition into the user's browser.
|
||||||
app.enableSandbox();
|
app.enableSandbox();
|
||||||
|
|
||||||
|
app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling,MediaSessionService');
|
||||||
|
|
||||||
app.on('ready', async () => {
|
app.on('ready', async () => {
|
||||||
try {
|
try {
|
||||||
await setupGlobals();
|
await setupGlobals();
|
||||||
|
|
Loading…
Reference in a new issue