1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

DankDash: fix per-monitor wallpapers

This commit is contained in:
bbedward
2025-11-29 11:10:10 -05:00
parent 1d3fe81ff7
commit db7e597f67
2 changed files with 8 additions and 1 deletions

View File

@@ -374,7 +374,7 @@ DankPopout {
active: root.currentTabIndex === 2
tabBarItem: tabBar
keyForwardTarget: mainContainer
targetScreen: root.triggerScreen
targetScreen: root.screen
parentPopout: root
}

View File

@@ -3,6 +3,7 @@ import QtCore
import QtQuick
import QtQuick.Controls
import QtQuick.Effects
import Quickshell
import qs.Common
import qs.Modals.FileBrowser
import qs.Widgets
@@ -244,6 +245,12 @@ Item {
setInitialSelection();
}
}
function onPerMonitorWallpaperChanged() {
loadWallpaperDirectory();
if (visible && active) {
setInitialSelection();
}
}
}
onTargetScreenNameChanged: {