mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 06:14:45 +00:00
adapt to new shell capabilities
This commit is contained in:
parent
6686b22212
commit
238ad8e7b8
1 changed files with 10 additions and 2 deletions
|
|
@ -1,11 +1,12 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||||
|
import org.kde.plasma.shell 2.0 as Shell
|
||||||
import "../components"
|
import "../components"
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: homescreen
|
id: homescreen
|
||||||
width: 1024
|
width: 1080
|
||||||
height: 768
|
height: 1920
|
||||||
|
|
||||||
property Item containment;
|
property Item containment;
|
||||||
property Item wallpaper;
|
property Item wallpaper;
|
||||||
|
|
@ -28,4 +29,11 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Component.onCompleted: {
|
||||||
|
//configure the view behavior
|
||||||
|
desktop.windowType = Shell.Desktop.Window;
|
||||||
|
desktop.width = width;
|
||||||
|
desktop.height = height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue