]> git.eshelyaron.com Git - emacs.git/commit
Don't auto-lower when moving onto a menu bar on Haiku
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Feb 2022 01:26:14 +0000 (01:26 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 17 Feb 2022 01:26:14 +0000 (01:26 +0000)
commite14317eec4461e86a93906973ff99527e7dfa4df
tree7b03cc86b7e6156b9386054a2a50f043bd121ba0
parent9780972a443d2485cb51ea35d699614ce33cf914
Don't auto-lower when moving onto a menu bar on Haiku

* src/haiku_io.c (haiku_len): Handle `MENU_BAR_LEFT'.
* src/haiku_support.cc (EmacsMenuBar::MouseMoved): New function.
* src/haiku_support.h (enum haiku_event_type): New event
`MENU_BAR_LEFT'.
(struct haiku_menu_bar_left_event): New structure.
* src/haikuterm.c (haiku_read_socket): Don't auto-lower when the
mouse exits the frame view onto the menu bar and handle
MENU_BAR_LEFT events.
src/haiku_io.c
src/haiku_support.cc
src/haiku_support.h
src/haikuterm.c