mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 16:42:04 -08:00
Fix screen hijacker for FF134
This commit is contained in:
parent
3b2d2b02f2
commit
841f7399a2
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ index 7a4fa8d48f..1f560937a3 100644
|
||||||
+ if (auto height = MaskConfig::GetInt32("screen.height"),
|
+ if (auto height = MaskConfig::GetInt32("screen.height"),
|
||||||
+ width = MaskConfig::GetInt32("screen.width");
|
+ width = MaskConfig::GetInt32("screen.width");
|
||||||
+ height && width) {
|
+ height && width) {
|
||||||
+ *outRect = LayoutDeviceIntRect::ToAppUnits(
|
+ nsRect outRect = LayoutDeviceIntRect::ToAppUnits(
|
||||||
+ LayoutDeviceIntRect(0, 0, width.value(), height.value()),
|
+ LayoutDeviceIntRect(0, 0, width.value(), height.value()),
|
||||||
+ AppUnitsPerDevPixel());
|
+ AppUnitsPerDevPixel());
|
||||||
+ return outRect.Size();
|
+ return outRect.Size();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue