wayland/inhibit-shortcuts-dialog: Destroy the dialog after response
We'll never actually show it again, but just use the last response, so we can just destroy it now already. https://bugzilla.gnome.org/show_bug.cgi?id=786385
This commit is contained in:
parent
2f45e88f06
commit
66996dee4b
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ inhibit_shortcuts_dialog_response_cb (MetaInhibitShortcutsDialog *dialog,
|
|||
data->last_response = response;
|
||||
data->has_last_response = TRUE;
|
||||
inhibit_shortcuts_dialog_response_apply (data);
|
||||
meta_wayland_surface_hide_inhibit_shortcuts_dialog (data->surface);
|
||||
|
||||
meta_inhibit_shortcuts_dialog_hide (data->dialog);
|
||||
surface_inhibit_shortcuts_data_destroy_dialog (data);
|
||||
}
|
||||
|
||||
static InhibitShortcutsData *
|
||||
|
|
Loading…
Reference in a new issue