diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-21 06:28:06 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-21 06:28:06 +0000 |
commit | 3e3fe06307de183a4a4f9c7ead6a0d5c5adedfa9 (patch) | |
tree | d7778fdae880662d352d702ffe3e6d6a1a71f9d9 /src/haiku_support.h | |
parent | b7b14e920336646428c357b370cbfaac544ce295 (diff) | |
download | emacs-3e3fe06307de183a4a4f9c7ead6a0d5c5adedfa9.tar.gz emacs-3e3fe06307de183a4a4f9c7ead6a0d5c5adedfa9.tar.bz2 emacs-3e3fe06307de183a4a4f9c7ead6a0d5c5adedfa9.zip |
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.
Diffstat (limited to 'src/haiku_support.h')
-rw-r--r-- | src/haiku_support.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/haiku_support.h b/src/haiku_support.h index 163685572f6..dbb12c24aa2 100644 --- a/src/haiku_support.h +++ b/src/haiku_support.h @@ -702,6 +702,7 @@ extern void be_set_window_fullscreen_mode (void *, enum haiku_fullscreen_mode); extern void be_lock_window (void *); extern void be_unlock_window (void *); +extern bool be_get_explicit_workarea (int *, int *, int *, int *); #ifdef __cplusplus } |