loginDialog: Perform grab on the stage actor
Despite this grab happening in the dialog, we are also interested in things happening outside of it. Move this grab to happen in the stage itself, so the changed grab semantics don't make it impossible to interact with parts of the login screen. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>
This commit is contained in:
parent
f2cca5cccb
commit
3a77d78b42
@ -1289,7 +1289,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
this.opacity = 0;
|
this.opacity = 0;
|
||||||
|
|
||||||
Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
|
Main.pushModal(global.stage, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
|
||||||
|
|
||||||
this.ease({
|
this.ease({
|
||||||
opacity: 255,
|
opacity: 255,
|
||||||
@ -1301,7 +1301,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
Main.popModal(this);
|
Main.popModal(global.stage);
|
||||||
Main.ctrlAltTabManager.removeGroup(this);
|
Main.ctrlAltTabManager.removeGroup(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user