mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
readjust z orders
This commit is contained in:
parent
5ff1199099
commit
271f4ed9de
1 changed files with 3 additions and 3 deletions
|
|
@ -140,7 +140,7 @@ Rectangle {
|
||||||
Item {
|
Item {
|
||||||
id: keyboardLayer
|
id: keyboardLayer
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
z: 5
|
z: 800
|
||||||
onVisibleChanged: {
|
onVisibleChanged: {
|
||||||
if (!visible && compositorRoot.shellWindow) {
|
if (!visible && compositorRoot.shellWindow) {
|
||||||
compositorRoot.shellWindow.child.takeFocus();
|
compositorRoot.shellWindow.child.takeFocus();
|
||||||
|
|
@ -303,7 +303,7 @@ Rectangle {
|
||||||
ScriptAction {
|
ScriptAction {
|
||||||
script: {
|
script: {
|
||||||
desktopLayer.z = 1
|
desktopLayer.z = 1
|
||||||
windowsLayerBackground.z = 2
|
windowsLayerBackground.z = 800
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PropertyAnimation {
|
PropertyAnimation {
|
||||||
|
|
@ -344,7 +344,7 @@ Rectangle {
|
||||||
compositorRoot.currentWindow = null;
|
compositorRoot.currentWindow = null;
|
||||||
} else {
|
} else {
|
||||||
desktopLayer.z = 1;
|
desktopLayer.z = 1;
|
||||||
windowsLayerBackground.z = 2;
|
windowsLayerBackground.z = 800;
|
||||||
if (compositorRoot.currentWindow) {
|
if (compositorRoot.currentWindow) {
|
||||||
compositorRoot.currentWindow.child.takeFocus();
|
compositorRoot.currentWindow.child.takeFocus();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue