summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-02-26 06:56:31 +0000
committerPo Lu <luangruo@yahoo.com>2022-02-26 06:57:00 +0000
commit974c44414a1bd3dced0f77ce65c60a41e0f25a1a (patch)
treee9c8ccfbdcf8a9ce28cf37abcad8911312aaf097 /lisp/emacs-lisp/macroexp.el
parentc215158756b127f77a1cf298e80529e2589a23b4 (diff)
downloademacs-974c44414a1bd3dced0f77ce65c60a41e0f25a1a.tar.gz
emacs-974c44414a1bd3dced0f77ce65c60a41e0f25a1a.tar.bz2
emacs-974c44414a1bd3dced0f77ce65c60a41e0f25a1a.zip
Improve scroll bar button handling on Haiku
* src/haiku_io.c (haiku_len): Add `SCROLL_BAR_PART_EVENT'. * src/haiku_support.cc (class EmacsScrollBar): New fields `dragging' and `current_state', along with `old_value' and `current_part'. (EmacsScrollBar): Set horizontal flag to `horizontal_p'. (MessageReceived): Set old_value when receiving SCROLL_BAR_UPDATE message. (ValueChanged): Don't allow scroll bar values to change while dragging. (MouseUp, MouseDown): Calculate button under mouse and act accordingly. * src/haiku_support.h (enum haiku_event_type): New event `SCROLL_BAR_PART_EVENT'. (enum haiku_scroll_bar_part): New enumerator. (struct haiku_scroll_bar_part_event): New struct. * src/haikuterm.c (haiku_read_socket): Handle SCROLL_BAR_PART_EVENTs.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
0 files changed, 0 insertions, 0 deletions