From 95376adebe019760b6321655f25d6bc784602b6c Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Tue, 3 Nov 2015 19:15:24 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=90=E3=83=AB=E3=83=BC=E3=83=B3=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E3=82=92=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=81=97?= =?UTF-8?q?=E3=81=9F=E5=A0=B4=E5=90=88=E3=81=AB=E3=83=A1=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E7=94=BB=E9=9D=A2=E3=81=AB=E3=83=95=E3=82=A9=E3=83=BC=E3=82=AB?= =?UTF-8?q?=E3=82=B9=E3=82=92=E7=A7=BB=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 64a20899..9891dcbd 100644 --- a/src/main.js +++ b/src/main.js @@ -54,6 +54,9 @@ app.on('ready', function() { if (process.platform === 'win32') { trayIcon = new Tray(__dirname + '/tray.png'); trayIcon.setToolTip(app.getName()); + trayIcon.on('balloon-clicked', function() { + mainWindow.focus(); + }); ipc.on('notified', function(event, arg) { trayIcon.displayBalloon({ title: arg.title,