diff --git a/app/static/js/app.js b/app/static/js/app.js index f9c3c6e30..2c28be4c7 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -371,6 +371,56 @@ menuBar.addEventListener("ctrl-alt-del-requested", () => { code: "Delete", }); }); +menuBar.addEventListener("ctrl-alt-backspace-requested", () => { + processKeystroke({ + ctrlLeft: true, + key: "Control", + code: "ControlLeft", + }); + processKeystroke({ + ctrlLeft: true, + altLeft: true, + key: "Alt", + code: "AltLeft", + }); + processKeystroke({ + ctrlLeft: true, + altLeft: true, + key: "Backspace", + code: "Backspace", + }); +}); +menuBar.addEventListener("meta-alt-escape-requested", () => { + processKeystroke({ + metaLeft: true, + key: "Meta", + code: "MetaLeft", + }); + processKeystroke({ + metaLeft: true, + altLeft: true, + key: "Alt", + code: "AltLeft", + }); + processKeystroke({ + metaLeft: true, + altLeft: true, + key: "Esc", + code: "Escape", + }); +}); +menuBar.addEventListener("alt-tab-requested", () => { + processKeystroke({ + altLeft: true, + key: "Alt", + code: "AltLeft", + }); + processKeystroke({ + altLeft: true, + key: "Tab", + code: "Tab", + }); +}); setKeystrokeHistoryStatus(settings.isKeystrokeHistoryEnabled()); diff --git a/app/templates/custom-elements/menu-bar.html b/app/templates/custom-elements/menu-bar.html index 401083ec3..f68f5bc21 100644 --- a/app/templates/custom-elements/menu-bar.html +++ b/app/templates/custom-elements/menu-bar.html @@ -290,7 +290,24 @@