mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
modalDialog: Make reactive
Some dialogs like the runDialog expect this actor to receive key events while it is not reactive. Whatever that black magic was it will no longer work. Make the actor reactive, so it can simply handle key events. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2045>
This commit is contained in:
parent
88a8ba0869
commit
88d60a70a3
1 changed files with 5 additions and 3 deletions
|
|
@ -32,9 +32,11 @@ var ModalDialog = GObject.registerClass({
|
|||
}, class ModalDialog extends St.Widget {
|
||||
_init(params) {
|
||||
super._init({ visible: false,
|
||||
x: 0,
|
||||
y: 0,
|
||||
accessible_role: Atk.Role.DIALOG });
|
||||
reactive: true,
|
||||
x: 0,
|
||||
y: 0,
|
||||
accessible_role: Atk.Role.DIALOG,
|
||||
});
|
||||
|
||||
params = Params.parse(params, { shellReactive: false,
|
||||
styleClass: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue