Skip to content

Commit cdd7b8c

Browse files
committed
removed context menu from projected windows
1 parent 4d6dbb7 commit cdd7b8c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Electron/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,28 +1393,33 @@ function create_window(opts, cbk = () => {}) {
13931393
if ((new RegExp(/gptchat/)).exec(options.url)) {
13941394
options.minWidth = 200;
13951395
options.linuxMenuBar = false;
1396+
options.contextMenu = false;
13961397
}
13971398

13981399
if ((new RegExp(/docFind/)).exec(options.url)) {
13991400
options.width = options.minWidth;
14001401
options.linuxMenuBar = false;
1402+
options.contextMenu = false;
14011403
}
14021404

14031405
if ((new RegExp(/settings/)).exec(options.url)) {
14041406
options.linuxMenuBar = false;
1407+
options.contextMenu = false;
14051408
}
14061409

14071410

14081411
if (new RegExp(/acknowledgments/).exec(options.url)) {
14091412
options.height = 310;
14101413
options.linuxMenuBar = false;
1414+
options.contextMenu = false;
14111415
}
14121416

14131417
if (new RegExp(/window/).exec(options.url)) {
14141418
options.minWidth = 100;
14151419
options.width = 500;
14161420
options.height = 500;
14171421
options.linuxMenuBar = false;
1422+
options.contextMenu = false;
14181423
}
14191424

14201425

@@ -1423,6 +1428,7 @@ function create_window(opts, cbk = () => {}) {
14231428
options.width = 576*1024.0/800.0;
14241429
options.height = 520*640.0/600.0;
14251430
options.linuxMenuBar = false;
1431+
options.contextMenu = false;
14261432
}
14271433

14281434

0 commit comments

Comments
 (0)