From 20f9e7b3a11383b581265b41588bbb480e107f4a Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Fri, 17 Jun 2016 10:08:12 -0400 Subject: [PATCH] fix(win): fix alt-based worker window keyboard shortcut --- src/browser/application-menu.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/browser/application-menu.coffee b/src/browser/application-menu.coffee index a276ff5fc..13fa40589 100644 --- a/src/browser/application-menu.coffee +++ b/src/browser/application-menu.coffee @@ -109,9 +109,13 @@ class ApplicationMenu return unless windowMenu idx = _.findIndex(windowMenu.submenu, ({id}) -> id is 'window-list-separator') + workShortcut = "CmdOrCtrl+alt+w" + if process.platform is "win32" + workShortcut = "ctrl+shift+f10" + accelerators = { 'default': 'CmdOrCtrl+0', - 'work': 'CmdOrCtrl+alt+w', + 'work': workShortcut, } windows = global.application.windowManager.getOpenWindows() windowsItems = windows.map (w) => {