From c30f7f5e6359e34dcba5a8f8f186de87b6957356 Mon Sep 17 00:00:00 2001 From: Kristen McWilliam <9575627+Merrit@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:04:12 -0400 Subject: [PATCH 1/2] fix(linux): don't show plasmashell process in x11 X11 sessions seem to be showing plasmashell processes for each monitor and virtual desktop. --- lib/native_platform/src/linux/linux.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/native_platform/src/linux/linux.dart b/lib/native_platform/src/linux/linux.dart index 61c2496..8424872 100644 --- a/lib/native_platform/src/linux/linux.dart +++ b/lib/native_platform/src/linux/linux.dart @@ -50,6 +50,10 @@ class Linux implements NativePlatform { if (window != null) windows.add(window); } + // Remove any instances of plasmashell, which is the KDE desktop. + // It appears to show up on X11 sessions, for each monitor and virtual desktop. + windows.removeWhere((window) => window.process.executable == 'plasmashell'); + return windows; } From 0d3ca10fca452d95140ddd6b650f1966bd673b45 Mon Sep 17 00:00:00 2001 From: Kristen McWilliam <9575627+Merrit@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:05:51 -0400 Subject: [PATCH 2/2] chore: bump version --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 9d28506..b8cad65 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: nyrna description: Suspend any game or application. publish_to: "none" -version: 2.22.0 +version: 2.23.0 environment: sdk: ">=3.0.0 <4.0.0"