ScreenShield: Set locked hint on logind (#818)

This commit is contained in:
David Hewitt 2020-05-26 12:35:36 +01:00 committed by GitHub
parent 69aec5c8e8
commit e120718103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,6 +416,12 @@ namespace Gala {
active_changed ();
}
try {
login_session.set_locked_hint (active);
} catch (Error e) {
warning ("Unable to set locked hint on login session: %s", e.message);
}
sync_inhibitor ();
}
}