File Revert-disable-hardware-acceleration.patch of Package signal-desktop

Revert an upstream change done for 5.62.0 and allow hardware acceleration again.
It can be disabled by the user in electron-flags.conf in case of driver problems.

--- a/app/main.ts
+++ b/app/main.ts
@@ -1614,12 +1614,6 @@ app.commandLine.appendSwitch('disable-features', 'HardwareMediaKeyHandling');
 // If we don't set this, Desktop will ask for access to keychain/keyring on startup
 app.commandLine.appendSwitch('password-store', 'basic');
 
-// <canvas/> rendering is often utterly broken on Linux when using GPU
-// acceleration.
-if (DISABLE_GPU) {
-  app.disableHardwareAcceleration();
-}
-
 // This method will be called when Electron has finished
 // initialization and is ready to create browser windows.
 // Some APIs can only be used after this event occurs.
openSUSE Build Service is sponsored by