Commit 45dd09bf authored by Marco Martin's avatar Marco Martin
Browse files

Revert "Revert "Save layouts per-resolution""

Crash has been solved in plasma-workspace
This reverts commit 1d68bc11.
parent 07dcff19
......@@ -277,7 +277,9 @@ FolderViewDropArea {
id: appletsLayout
anchors.fill: parent
// NOTE: use plasmoid.availableScreenRect and not own width and height as they are updated not atomically
configKey: plasmoid.availableScreenRect.width > plasmoid.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
configKey: "ItemGeometries-" + Math.round(plasmoid.screenGeometry.width) + "x" + Math.round(plasmoid.screenGeometry.height)
fallbackConfigKey: plasmoid.availableScreenRect.width > plasmoid.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
containment: plasmoid
editModeCondition: plasmoid.immutable
? ContainmentLayoutManager.AppletsLayout.Locked
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment