mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Possible fix for Hyprland workspaces
This commit is contained in:
@@ -188,7 +188,7 @@ Item {
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
onClicked: {
|
||||
WorkspaceManager.switchToWorkspace(model.id);
|
||||
WorkspaceManager.switchToWorkspace(model.idx);
|
||||
}
|
||||
z: 20
|
||||
hoverEnabled: true
|
||||
|
||||
@@ -28,7 +28,9 @@ Singleton {
|
||||
reload()
|
||||
}
|
||||
onLoaded: function() {
|
||||
WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true);
|
||||
Qt.callLater(function () {
|
||||
WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true);
|
||||
})
|
||||
}
|
||||
onLoadFailed: function(error) {
|
||||
settingAdapter = {}
|
||||
|
||||
Reference in New Issue
Block a user