]> git.eshelyaron.com Git - emacs.git/commit
Fix calculation of display resolution on Haiku
authorPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 07:28:23 +0000 (07:28 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 07:29:15 +0000 (07:29 +0000)
commitded4413acc6a894bd47736672cceb960bf0fad7d
treeece53204f10b26ff952118c45d51b22b23483fbc
parent7609c6cadb071df8eeded71263c66c5ca94860b3
Fix calculation of display resolution on Haiku

* src/haiku_support.cc (BScreen_px_dim): Rename to
`be_get_screen_dimensions'.
(BScreen_res): Rename to `be_get_display_resolution' and fix
resolution computation.
* src/haiku_support.h: Update prototypes.

* src/haikufns.c (compute_tip_xy, Fx_display_pixel_width)
(Fx_display_pixel_height, Fx_display_mm_height)
(Fx_display_mm_width): Update accordingly.

* src/haikuterm.c (haiku_term_init): Likewise.
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c
src/haikuterm.c