From 22534c4c64d09fa6510779996f5d3c53df689a5e Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 15 Oct 2019 15:39:07 +0200 Subject: [PATCH] unlockDialog: Show auth prompt on tap --- js/ui/unlockDialog.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index fe7bef1f9..8a2615639 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -378,9 +378,16 @@ var UnlockDialog = GObject.registerClass({ super._init({ accessible_role: Atk.Role.WINDOW, style_class: 'login-dialog', + reactive: true, visible: false, }); + let tapAction = new Clutter.TapAction(); + tapAction.connect('tap', () => { + this._showAuth(); + }) + this.add_action(tapAction); + this.add_constraint(new Layout.MonitorConstraint({ primary: true })); parentActor.add_child(this);