mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
Merge branch 'remote-desktop-dialog' into 'main'
Small fix to allow displaying a dialog from login screen Closes gnome-remote-desktop#189 See merge request GNOME/gnome-shell!3316
This commit is contained in:
commit
0f2f795872
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ export class AccessDialogDBus {
|
|||
let [handle, appId, parentWindow_, title, description, body, options] = params;
|
||||
// We probably want to use parentWindow and global.display.focus_window
|
||||
// for this check in the future
|
||||
if (appId && `${appId}.desktop` !== this._windowTracker.focus_app.id) {
|
||||
if (appId && this._windowTracker.focus_app && `${appId}.desktop` !== this._windowTracker.focus_app.id) {
|
||||
invocation.return_error_literal(
|
||||
Gio.DBusError,
|
||||
Gio.DBusError.ACCESS_DENIED,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue