]> git.eshelyaron.com Git - emacs.git/commit
Compute frame workareas on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 21 May 2022 06:28:06 +0000 (06:28 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 21 May 2022 06:28:06 +0000 (06:28 +0000)
commit3e3fe06307de183a4a4f9c7ead6a0d5c5adedfa9
treed7778fdae880662d352d702ffe3e6d6a1a71f9d9
parentb7b14e920336646428c357b370cbfaac544ce295
Compute frame workareas on Haiku

* lisp/frame.el (display-monitor-attributes-list): Implement
specially on Haiku as well.
* src/haiku_support.cc (get_zoom_rect): New function.  Extract
CalculateZoomRect here.
(class EmacsWindow, SetFullscreen): Use that instead of
CalculateZoomRect.
(be_get_explicit_workarea): New function.
* src/haiku_support.h: Update prototypes.
* src/haikufns.c (Fhaiku_display_monitor_attributes_list): New
function.
(syms_of_haikufns): Register new subr.
lisp/frame.el
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c