unlockDialog: Turn mainBox into an St.Widget

This is the container that contains the elements that are interesting
for keynav, so it must be aware of focus-chain and -navigation.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2210
This commit is contained in:
Florian Müllner 2020-02-19 17:15:48 +01:00 committed by Florian Müllner
parent 1249655d0a
commit c52fd9373c

View File

@ -568,7 +568,7 @@ var UnlockDialog = GObject.registerClass({
this._otherUserButton, 'visible', Gio.SettingsBindFlags.GET); this._otherUserButton, 'visible', Gio.SettingsBindFlags.GET);
// Main Box // Main Box
let mainBox = new Clutter.Actor(); let mainBox = new St.Widget();
mainBox.add_constraint(new Layout.MonitorConstraint({ primary: true })); mainBox.add_constraint(new Layout.MonitorConstraint({ primary: true }));
mainBox.add_child(this._stack); mainBox.add_child(this._stack);
mainBox.add_child(this._notificationsBox); mainBox.add_child(this._notificationsBox);