mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
relayer the keyboard
This commit is contained in:
parent
cde5490997
commit
2b7a1ac810
2 changed files with 6 additions and 2 deletions
|
|
@ -23,6 +23,7 @@ import QtQml.Models 2.1
|
|||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import "WindowManagement.js" as WindowManagement
|
||||
|
||||
|
||||
Rectangle {
|
||||
property alias showSplash: splash.visible
|
||||
property bool showPanel: true
|
||||
|
|
@ -127,12 +128,12 @@ Rectangle {
|
|||
id: panelLayer
|
||||
anchors.fill: parent
|
||||
visible: showPanel
|
||||
z: 3
|
||||
z: 4
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: bottomBar
|
||||
z: 4
|
||||
z: 3
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.bottom: parent.bottom
|
||||
|
|
|
|||
|
|
@ -194,6 +194,9 @@ function mapShellSurface(surface, child) {
|
|||
window.x = window.y = 0;
|
||||
window.width = surface.size.width;
|
||||
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
|
||||
compositorRoot.showSplash = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue