From 5753e57a5fdf7163c5924845aacafcb5a81d2166 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:46:07 +0100 Subject: [PATCH] fix pw popups on DEs where dbus calls are blocking --- Desktop/Wayland/XdgScreenCastHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Desktop/Wayland/XdgScreenCastHandler.cs b/Desktop/Wayland/XdgScreenCastHandler.cs index e994dfd..134db76 100644 --- a/Desktop/Wayland/XdgScreenCastHandler.cs +++ b/Desktop/Wayland/XdgScreenCastHandler.cs @@ -129,7 +129,7 @@ private async Task CreateSessionAsync() }, false); - await _screenCast.CreateSessionAsync(options); + var _ = _screenCast.CreateSessionAsync(options); long val; while ((val = Interlocked.Read(ref state)) <= 0) @@ -188,7 +188,7 @@ private async Task SelectSourcesAsync() }, false); - await _screenCast.SelectSourcesAsync(_sessionPath!, options); + var _ = _screenCast.SelectSourcesAsync(_sessionPath!, options); long val; var waited = 0; @@ -283,7 +283,7 @@ private async Task StartCaptureAsync() }, false); - await _screenCast.StartAsync(_sessionPath!, "", options); + var _ = _screenCast.StartAsync(_sessionPath!, "", options); long val; while ((val = Interlocked.Read(ref state)) <= 0)