mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
lockscreenstate: Make lock screen call async
This avoids blocking the shell when lock screen is requested
This commit is contained in:
parent
678cd25a43
commit
921345bc2d
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ void LockscreenDBusClient::lockScreen()
|
|||
QStringLiteral("/ScreenSaver"),
|
||||
QStringLiteral("org.freedesktop.ScreenSaver"),
|
||||
QStringLiteral("Lock"));
|
||||
QDBusConnection::sessionBus().call(request);
|
||||
QDBusConnection::sessionBus().asyncCall(request);
|
||||
}
|
||||
|
||||
void LockscreenDBusClient::slotLockscreenActiveChanged(bool active)
|
||||
|
|
|
|||
Loading…
Reference in a new issue