File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 property var isFullScreen: abstractTasksModel .IsFullScreen
3535 property var isMinimized: abstractTasksModel .IsMinimized
3636 property bool activeScreenOnly: main .configuration .CheckWindowsActiveScreen
37+ readonly property string currentActivity: activityInfo .currentActivity
3738
3839 Connections {
3940 target: main .configuration
5051
5152 TaskManager .ActivityInfo {
5253 id: activityInfo
53- readonly property string nullUuid: " 00000000-0000-0000-0000-000000000000"
5454 }
5555
5656 TaskManager .TasksModel {
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ WallpaperItem {
7777 return play;
7878 }
7979 property bool playing: {
80- return ((shouldPlay && ! batteryPausesVideo && ! screenLocked && ! screenIsOff && ! effectPauseVideo) || effectPlayVideo) && videosConfig .length !== 0 ;
80+ return ((shouldPlay && ! batteryPausesVideo && ! screenLocked && ! screenIsOff && ! effectPauseVideo && isCurrentActivity ) || effectPlayVideo) && videosConfig .length !== 0 ;
8181 }
8282 property bool shouldBlur: {
8383 if (videosConfig .length == 0 ) {
@@ -111,6 +111,7 @@ WallpaperItem {
111111 property bool batteryDisablesBlur: pauseBattery && main .configuration .BatteryDisablesBlur
112112
113113 property bool screenIsOff: screenModel .screenIsOff
114+ property bool isCurrentActivity: Plasmoid .activity === windowModel .currentActivity
114115 property bool screenOffPausesVideo: main .configuration .ScreenOffPausesVideo
115116 property bool lockScreenMode: false
116117 property bool debugEnabled: main .configuration .DebugEnabled
You can’t perform that action at this time.
0 commit comments