Pier Angelo Vendrame pushed to branch base-browser-128.10.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
-
6bb0d464
by Pier Angelo Vendrame at 2025-04-23T17:20:56+02:00
1 changed file:
Changes:
... | ... | @@ -958,7 +958,8 @@ class _RFPHelper { |
958 | 958 | if (x11Height < targetHeight) {
|
959 | 959 | targetHeight = x11Height + 2;
|
960 | 960 | }
|
961 | - aWindow.resizeTo(targetWidth, targetHeight);
|
|
961 | + // resizeTo truncates on X11, so we compensate.
|
|
962 | + aWindow.resizeTo(Math.ceil(targetWidth), Math.ceil(targetHeight));
|
|
962 | 963 | } else {
|
963 | 964 | aWindow.resizeBy(deltaWidth, deltaHeight);
|
964 | 965 | }
|