[xdg-desktop-portal-gnome/gnome-42] ScreenCast: close screencast dialog when the session is closed from the client side
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xdg-desktop-portal-gnome/gnome-42] ScreenCast: close screencast dialog when the session is closed from the client side
- Date: Sun, 3 Jul 2022 13:55:03 +0000 (UTC)
commit 74510604cbda62c50d53cda64c6ecc39c3b49562
Author: Jan Grulich <jgrulich redhat com>
Date: Tue Jun 14 15:39:26 2022 +0200
ScreenCast: close screencast dialog when the session is closed from the client side
When the session is closed, for example trying to share a screen in Chrome and closing
the web page while having the portal dialog still open, it will not take down the dialog
and instead it just gets hidden below Chrome's window.
src/screencast.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/screencast.c b/src/screencast.c
index 765558d..4df7c93 100644
--- a/src/screencast.c
+++ b/src/screencast.c
@@ -868,6 +868,8 @@ screen_cast_session_close (Session *session)
error->message);
g_clear_object (&screen_cast_session->gnome_screen_cast_session);
}
+
+ screen_cast_dialog_handle_close (screen_cast_session->dialog_handle);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]