]> git.eshelyaron.com Git - emacs.git/commit
Implement monitor change functions on Haiku
authorPo Lu <luangruo@yahoo.com>
Mon, 23 May 2022 10:23:43 +0000 (10:23 +0000)
committerPo Lu <luangruo@yahoo.com>
Mon, 23 May 2022 10:23:59 +0000 (10:23 +0000)
commitcaec741c00f907264524fafb5ba058063c898b92
tree1ebaf36033e7f4ec927c9d9b9e8284d30043204b
parent4b15b88e714f39ca6926f17b36a1302959b69643
Implement monitor change functions on Haiku

* src/haiku_io.c (haiku_len): Handle new event type.
* src/haiku_support.cc (class EmacsScreenChangeMonitor): New
class.
(class Emacs, Emacs): Create new screen change monitor.
(DispatchMessage): Update fullscreen state if the screen
changed.
(SetFullscreen): Don't punt if fullscreen mode is identical.

* src/haiku_support.h (enum haiku_event_type): New event
`SCREEN_CHANGE_EVENT'.
(struct haiku_screen_changed_event): New struct.

* src/haikuterm.c (haiku_read_socket): Handle new event.
src/haiku_io.c
src/haiku_support.cc
src/haiku_support.h
src/haikuterm.c