From 63a84fa97700c128dd6590016397a0bbc3cda876 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Wed, 24 Aug 2016 15:51:40 -0300 Subject: [PATCH] Fixes #180 --- electron/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electron/main.js b/electron/main.js index 2460c6f0..2fd7160a 100644 --- a/electron/main.js +++ b/electron/main.js @@ -155,7 +155,11 @@ function createWindow () { if ( cmd === 'browser-backward' ) mainWindow.webContents.executeJavaScript('Ext.cq1("app-main").getActiveTab().goBack();'); // Navigate the window forward when the user hits their mouse forward button if ( cmd === 'browser-forward' ) mainWindow.webContents.executeJavaScript('Ext.cq1("app-main").getActiveTab().goForward();'); - }) + }); + + mainWindow.on('focus', (e) => { + // Make focus on current service when user use Alt + Tab to activate Rambox + }); // Emitted when the window is closed. mainWindow.on('close', function(e) {