aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorShay Elkin2026-02-11 15:28:11 -0800
committerAlan Third2026-02-21 17:37:56 +0000
commita7dbf2427aed70e9c44caa82e1e9d47085ff6d9c (patch)
treef1a22c7ad8df49d371e0ef96f96211561c738c5c /java/debug.sh
parentc6cedfbb2f29992c911a9a730d1567bf6a9adbad (diff)
downloademacs-a7dbf2427aed70e9c44caa82e1e9d47085ff6d9c.tar.gz
emacs-a7dbf2427aed70e9c44caa82e1e9d47085ff6d9c.zip
Use real display geometry on NS (bug#80331)
In nsfns.m, `x-display-mm-height' and `x-display-mm-weight' computes the display size by dividing its (logical) pixel dimensions by 92 dpi. This would often give wrong results: by default, logical pixels on in macOS are computed to 72 dpi, but that can be changed by the user. As macOS multi-screen geometry is all computed based on the main screen's cooridnate system, use its dpi to compute the physical size of the bounding box containing all the screens. * src/nsfns.m (Fx_display_mm_height): (Fx_display_mm_width): Calculate the total physical display size using the main-screen's geometry. Copyright-paperwork-exempt: yes
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions