diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index ece597cc3..8a46559d9 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -134,8 +134,10 @@ export const AuthPrompt = GObject.registerClass({ } on_key_press_event(event) { - if (event.get_key_symbol() === Clutter.KEY_Escape) + if (event.get_key_symbol() === Clutter.KEY_Escape) { this.cancel(); + return Clutter.EVENT_STOP; + } return Clutter.EVENT_PROPAGATE; }