From 238ad8e7b8d7f09278790b37f72f686c42184778 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Mon, 29 Sep 2014 13:32:55 +0200 Subject: [PATCH] adapt to new shell capabilities --- shell/contents/views/Desktop.qml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/shell/contents/views/Desktop.qml b/shell/contents/views/Desktop.qml index dceaa025..889a43e0 100644 --- a/shell/contents/views/Desktop.qml +++ b/shell/contents/views/Desktop.qml @@ -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; + } }