mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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 org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.plasma.shell 2.0 as Shell
|
||||
import "../components"
|
||||
|
||||
Rectangle {
|
||||
id: homescreen
|
||||
width: 1024
|
||||
height: 768
|
||||
width: 1080
|
||||
height: 1920
|
||||
|
||||
property Item containment;
|
||||
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