mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Merge branch 'lid-open-prompt' into 'main'
unlockDialog: Prompt for auth on lid open Closes #7077 See merge request GNOME/gnome-shell!2977
This commit is contained in:
commit
c32bdd39fd
1 changed files with 3 additions and 0 deletions
|
|
@ -534,6 +534,9 @@ export const UnlockDialog = GObject.registerClass({
|
|||
tapAction.connect('tap', this._showPrompt.bind(this));
|
||||
this.add_action(tapAction);
|
||||
|
||||
global.backend.connectObject('lid-is-closed-changed',
|
||||
this._showPrompt.bind(this), this);
|
||||
|
||||
// Background
|
||||
this._backgroundGroup = new Clutter.Actor();
|
||||
this.add_child(this._backgroundGroup);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue