Possible fix for Hyprland workspaces
This commit is contained in:
parent
df1e6e6bbe
commit
3beea4f4a6
2 changed files with 4 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
WorkspaceManager.switchToWorkspace(model.id);
|
WorkspaceManager.switchToWorkspace(model.idx);
|
||||||
}
|
}
|
||||||
z: 20
|
z: 20
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,9 @@ Singleton {
|
||||||
reload()
|
reload()
|
||||||
}
|
}
|
||||||
onLoaded: function() {
|
onLoaded: function() {
|
||||||
WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true);
|
Qt.callLater(function () {
|
||||||
|
WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true);
|
||||||
|
})
|
||||||
}
|
}
|
||||||
onLoadFailed: function(error) {
|
onLoadFailed: function(error) {
|
||||||
settingAdapter = {}
|
settingAdapter = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue