mirror of
https://github.com/elementary/gala.git
synced 2024-09-11 15:15:39 +03:00
ScreenShield: Set locked hint on logind (#818)
This commit is contained in:
parent
69aec5c8e8
commit
e120718103
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user