diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-10 11:56:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-10-10 23:14:29 +0200 |
commit | 4059c6351d9dc07ef2ab88149079cb2c59e22c32 (patch) | |
tree | e0e1b74ebe9694178f22a2c0c77be02a9b87f049 /sc/qa | |
parent | 5a617f77ee803eb65051e93f659ef66433879052 (diff) |
tdf#161479 make presentation work on fractionally scaled display
With fractional scaling on wayland the monitor sizes here are reported
effectively with the fractional scaling factor rounded up to the next
integer.
So:
1920 x 1080 at 125% scaling which appears like,
1536 x 864 is reported the same as 200% scaling, i.e.
960 x 540
So using these values as constraints for GDK_HINT_MAX_SIZE
with gtk_window_set_geometry_hints for m_bFullscreen are
too small to allow filling the screen.
Seeing as this was introduced as a workaround in the first
place, drop the workaround under wayland.
Change-Id: I7acfc929755728bbf77731d040f1f0f66cac836c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174761
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/qa')
0 files changed, 0 insertions, 0 deletions