diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch')
-rw-r--r-- | kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch new file mode 100644 index 000000000000..6b771bfede1e --- /dev/null +++ b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch @@ -0,0 +1,32 @@ +From bbff465e6a005c737ee2e53eb5e072da006d9b4b Mon Sep 17 00:00:00 2001 +From: Aleix Pol <aleixpol@kde.org> +Date: Fri, 13 May 2022 16:47:36 +0200 +Subject: [PATCH] screenshare: Show the screen sharing notifier more + prominently + +Sets it as active, otherwise it got buried in the extended view of the +system tray. + +BUG: 452980 + + +(cherry picked from commit 3d61dae1fa334a9f3dadc505a038f75aa5846588) +--- + src/waylandintegration.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/waylandintegration.cpp b/src/waylandintegration.cpp +index e125578..b1b2d4d 100644 +--- a/src/waylandintegration.cpp ++++ b/src/waylandintegration.cpp +@@ -292,6 +292,7 @@ bool WaylandIntegration::WaylandIntegrationPrivate::startStreaming(Screencasting + } + item->setOverlayIconByName("media-record"); + item->setToolTip(item->iconName(), item->title(), i18n("Press to cancel")); ++ item->setStatus(KStatusNotifierItem::Active); + connect(item, &KStatusNotifierItem::activateRequested, stream, [=] { + stopStreaming(nodeid); + stream->deleteLater(); +-- +GitLab + |