relayer the keyboard

This commit is contained in:
Marco Martin 2014-12-10 16:10:04 +01:00
parent cde5490997
commit 2b7a1ac810
2 changed files with 6 additions and 2 deletions

View file

@ -23,6 +23,7 @@ import QtQml.Models 2.1
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import "WindowManagement.js" as WindowManagement import "WindowManagement.js" as WindowManagement
Rectangle { Rectangle {
property alias showSplash: splash.visible property alias showSplash: splash.visible
property bool showPanel: true property bool showPanel: true
@ -127,12 +128,12 @@ Rectangle {
id: panelLayer id: panelLayer
anchors.fill: parent anchors.fill: parent
visible: showPanel visible: showPanel
z: 3 z: 4
} }
Rectangle { Rectangle {
id: bottomBar id: bottomBar
z: 4 z: 3
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom

View file

@ -194,6 +194,9 @@ function mapShellSurface(surface, child) {
window.x = window.y = 0; window.x = window.y = 0;
window.width = surface.size.width; window.width = surface.size.width;
window.height = surface.size.height; window.height = surface.size.height;
if (surface.className == "maliit-server.desktop") {
window.y = compositorRoot.layers.panel.height - window.height;
}
// Switch to the desktop layer and take focus // Switch to the desktop layer and take focus
compositorRoot.showSplash = false; compositorRoot.showSplash = false;