(e)
| 1308 | ipcMain.on('toggleGoogleFonts', toggleGoogleFonts); |
| 1309 | |
| 1310 | function toggleFullscreen(e) |
| 1311 | { |
| 1312 | if (e != null && !validateSender(e.senderFrame)) return null; |
| 1313 | |
| 1314 | let win = BrowserWindow.getFocusedWindow(); |
| 1315 | |
| 1316 | if (win != null) |
| 1317 | { |
| 1318 | win.setFullScreen(!win.isFullScreen()); |
| 1319 | } |
| 1320 | }; |
| 1321 | |
| 1322 | ipcMain.on('toggleFullscreen', toggleFullscreen); |
| 1323 |
nothing calls this directly
no test coverage detected