lockscreen: also activate lock screen windows
We are running a slightly different code path, make sure that we still honour conventions like screen focus. BUG: 427882
This commit is contained in:
parent
62432133e0
commit
2894913f93
1 changed files with 6 additions and 0 deletions
|
@ -282,6 +282,12 @@ public:
|
||||||
if (!waylandServer()->isScreenLocked()) {
|
if (!waylandServer()->isScreenLocked()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto client = qobject_cast<AbstractClient *>(input()->findToplevel(event->globalPos()));
|
||||||
|
if (client && client->isLockScreen()) {
|
||||||
|
workspace()->activateClient(client);
|
||||||
|
}
|
||||||
|
|
||||||
auto seat = waylandServer()->seat();
|
auto seat = waylandServer()->seat();
|
||||||
seat->setTimestamp(event->timestamp());
|
seat->setTimestamp(event->timestamp());
|
||||||
if (event->type() == QEvent::MouseMove) {
|
if (event->type() == QEvent::MouseMove) {
|
||||||
|
|
Loading…
Reference in a new issue