diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-19 03:43:39 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-19 03:43:39 +0000 |
commit | 4dfaefcffc987400a317b5ccf0c9bf00f7c84134 (patch) | |
tree | 590fe0f71a6fae3fdec4d64fa80e20875f136be9 /lisp/emacs-lisp/comp-cstr.el | |
parent | bc604417f87f9fce865e70b3bc88b6bf2a8fd415 (diff) | |
download | emacs-4dfaefcffc987400a317b5ccf0c9bf00f7c84134.tar.gz emacs-4dfaefcffc987400a317b5ccf0c9bf00f7c84134.tar.bz2 emacs-4dfaefcffc987400a317b5ccf0c9bf00f7c84134.zip |
Fix race conditions processing frame fullscreen state on Haiku
* doc/lispref/frames.texi (Size Parameters): Remove note saying
Haiku doesn't support `fullwidth' and `fullboth'.
* src/haiku_support.cc (subset_windows, class EmacsWindow)
(Unparent, ParentTo): Stop calling old fullscreen functions.
(ClearFullscreen, FullscreenRectForMode, SetFullscreen): New
functions. Completely rewrite old zoom and fullscreen handling
code.
(Zoom): Send a ZOOM_EVENT and don't actually zoom.
(BWindow_zoom, EmacsWindow_make_fullscreen, EmacsWindow_unzoom):
Delete functions.
(be_set_window_fullscreen_mode): New function.
* src/haiku_support.h (struct haiku_zoom_event): Remove
`zoomed_p' parameter.
(enum haiku_fullscreen_mode): New enum. Update prototypes.
* src/haikufns.c (Fx_display_pixel_height): Return height
instead of width.
* src/haikuterm.c (haiku_make_fullscreen_consistent)
(haiku_read_socket, haiku_fullscreen): Adjust to always set zoom
and fullscreen in the main thread instead of the UI threads.
* src/haikuterm.h (struct haiku_output): Remove flag `zoomed_p'
and add field `fullscreen_mode'.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions