MagicMirror/js
Karsten Hassel 156db32c76
fix electron width/heigth when using xrandr under bullseye (#3161)
This PR uses `electron.screen.getPrimaryDisplay().workAreaSize` under
electron to get the screen size.

If this fails the current defaults (800x600) are used.

This solves some problems with xrandr under bullseye where the sreen
comes up with 800x600 instead of fullscreen, e.g. described
[here](https://khassel.gitlab.io/magicmirror/pi-modules/).

Tested this on my pi setup.

By the way, the Issue #1919 is back on my side (not related to this PR)
...
2023-08-12 22:57:42 +02:00
..
app.js Merge branch 'master' into develop 2023-07-01 20:59:34 +02:00
check_config.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
class.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
defaults.js added a new config option httpHeaders used by helmet 2022-05-13 22:29:43 +02:00
deprecated.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00
electron.js fix electron width/heigth when using xrandr under bullseye (#3161) 2023-08-12 22:57:42 +02:00
fetch.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
loader.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
logger.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00
main.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
module.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
node_helper.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
server.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
server_functions.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
socketclient.js Add no-param-reassign from eslint (#3089) 2023-04-16 17:38:39 +02:00
translator.js add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
utils.js Magic Mirror -> MagicMirror² 2022-01-26 23:09:26 +01:00