Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
813 stars 105 forks source link

Correct screen size override #1520

Closed felipeerias closed 2 months ago

felipeerias commented 2 months ago

The screen size override needs to use the DPI as reference, not the density.

For websites, screen.width and screen.height must be always greater or equal than window.innerWidth and window.innerHeight, otherwise there could be layout issues as the Wolvic window becomes too large.

Fixes https://github.com/Igalia/wolvic/issues/1517