about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2023-05-15 08:55:38 -0400
committerLily Foster <lily@lily.flowers>2023-05-15 08:55:38 -0400
commit5c1696e3a501941ad576afe0b9aa5be91b771b1a (patch)
treea8442d737ea8129ecd41aca59c70b9f48d34c8fe /pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch
parent0470f36b02ef01d4f43c641bbf07020bcab71bf1 (diff)
teams-for-linux: 1.0.83 -> 1.0.88
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch')
-rw-r--r--pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch b/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch
index 3e5d993e869ec..1ae26c06f0975 100644
--- a/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch
+++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/screensharing-wayland-hack-fix.patch
@@ -1,14 +1,14 @@
 diff --git a/app/index.js b/app/index.js
-index 20ccf43..b251f62 100644
+index ea89608..98f4a90 100644
 --- a/app/index.js
 +++ b/app/index.js
 @@ -1,4 +1,4 @@
 -const { app, ipcMain, desktopCapturer, systemPreferences, powerMonitor } = require('electron');
 +const { app, ipcMain, desktopCapturer, nativeImage, systemPreferences, powerMonitor } = require('electron');
  const path = require('path');
+ const fs = require('fs');
  const { LucidLog } = require('lucid-log');
- const isDev = require('electron-is-dev');
-@@ -93,7 +93,16 @@ if (!gotTheLock) {
+@@ -97,7 +97,16 @@ if (!gotTheLock) {
  	ipcMain.handle('getSystemIdleState', handleGetSystemIdleState);
  	ipcMain.handle('getZoomLevel', handleGetZoomLevel);
  	ipcMain.handle('saveZoomLevel', handleSaveZoomLevel);
@@ -23,6 +23,6 @@ index 20ccf43..b251f62 100644
 +			thumbnail: nativeImage.createEmpty()
 +		}])
 +		: desktopCapturer.getSources(opts));
+ 	ipcMain.handle('getCustomBGList', handleGetCustomBGList);
  	ipcMain.on('play-notification-sound', playNotificationSound);
- }
- 
+ 	ipcMain.on('user-status-changed', userStatusChangedHandler);