mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
never give focus to maliit
This commit is contained in:
parent
57d0ef8469
commit
cde5490997
1 changed files with 6 additions and 2 deletions
|
|
@ -170,7 +170,9 @@ function mapShellSurface(surface, child) {
|
||||||
} else {
|
} else {
|
||||||
compositorRoot.state = "homeScreen";
|
compositorRoot.state = "homeScreen";
|
||||||
}
|
}
|
||||||
entry.window.child.takeFocus();
|
if (surface.className != "maliit-server.desktop") {
|
||||||
|
entry.window.child.takeFocus();
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -200,7 +202,9 @@ function mapShellSurface(surface, child) {
|
||||||
} else {
|
} else {
|
||||||
compositorRoot.state = "homeScreen";
|
compositorRoot.state = "homeScreen";
|
||||||
}
|
}
|
||||||
window.child.takeFocus();
|
if (surface.className != "maliit-server.desktop") {
|
||||||
|
window.child.takeFocus();
|
||||||
|
}
|
||||||
|
|
||||||
// Add surface to the model
|
// Add surface to the model
|
||||||
surfaceModel.append({"surface": surface, "window": window});
|
surfaceModel.append({"surface": surface, "window": window});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue