aboutsummaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorakshitkrnagpal <akshitkrnagpal@gmail.com>2018-07-04 08:33:40 +0530
committerSaúl Ibarra Corretgé <s@saghul.net>2018-07-04 08:20:28 +0100
commit5ba65fb7d2486a11d16963c19e265783b6dab32a (patch)
tree2702c9bba97c86442e7f4b6cce5389dfbdfffb1e /main.js
parentd0b5e0ceccd4545f385f14e92ded48a3c78b2e97 (diff)
Show window once ready-to-show
Diffstat (limited to 'main.js')
-rw-r--r--main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.js b/main.js
index e701191..150cc6d 100644
--- a/main.js
+++ b/main.js
@@ -91,6 +91,7 @@ function createJitsiMeetWindow() {
height: jitsiMeetWindowState.height,
minWidth: 800,
minHeight: 600,
+ show: false,
titleBarStyle: 'hidden',
webPreferences: {
nativeWindowOpen: true
@@ -116,6 +117,9 @@ function createJitsiMeetWindow() {
jitsiMeetWindow.on('closed', () => {
jitsiMeetWindow = null;
});
+ jitsiMeetWindow.once('ready-to-show', () => {
+ jitsiMeetWindow.show();
+ });
}
// Start the application: