[gnome-shell/wip/carlosg/grabs-pt2: 21/25] loginDialog: Perform grab on the stage actor
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/grabs-pt2: 21/25] loginDialog: Perform grab on the stage actor
- Date: Tue, 25 Jan 2022 17:24:35 +0000 (UTC)
commit 1ab71dab162d76e4659b7ef21f8ea49b3a2849ac
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 25 11:48:55 2022 +0100
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.
js/gdm/loginDialog.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index 802c7c260e..6c5018006e 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -1289,7 +1289,7 @@ var LoginDialog = GObject.registerClass({
this.opacity = 0;
- Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
+ Main.pushModal(global.stage, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
this.ease({
opacity: 255,
@@ -1301,7 +1301,7 @@ var LoginDialog = GObject.registerClass({
}
close() {
- Main.popModal(this);
+ Main.popModal(global.stage);
Main.ctrlAltTabManager.removeGroup(this);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]