]> git.eshelyaron.com Git - emacs.git/commit
Introduce support for Desktop Notifications on Haiku
authorPo Lu <luangruo@yahoo.com>
Thu, 17 Aug 2023 08:34:32 +0000 (08:34 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 17 Aug 2023 08:34:32 +0000 (08:34 +0000)
commit5856ea5e4e897f4cb5cd1c3c28d14b335fe5cf54
treee426f160e0f5480d93abad7844198eb8fb8fc79a
parentc1a45041d66fc479f9b7b94475236d1c2d5001fe
Introduce support for Desktop Notifications on Haiku

* doc/lispref/os.texi (Desktop Notifications): Document Haiku
desktop notifications.

* etc/NEWS: Announce this change.

* lisp/org/org-clock.el (haiku-notifications-notify): New
declaration.
(org-show-notification): Employ that function.

* src/haiku_io.c (haiku_len) <NOTIFICATION_CLICK_EVENT>: Return
the length for this type of event.

* src/haiku_select.cc (my_team_id, be_display_notification): New
functions.

* src/haiku_support.cc (my_team_id, ArgvReceived): New
functions.

* src/haiku_support.h (enum haiku_event_type): New event type
NOTIFICATION_CLICK_EVENT.
(struct haiku_notification_click_event): New structure.

* src/haikuselect.c (haiku_notifications_notify_1)
(Fhaiku_notifications_notify): New functions.
(syms_of_haikuselect): Register new defsubr.

* src/haikuterm.c (haiku_read_socket):
* src/haikuselect.h:
* src/termhooks.h: Add new events for notification clicks on
Haiku.
doc/lispref/os.texi
etc/NEWS
lisp/org/org-clock.el
src/haiku_io.c
src/haiku_select.cc
src/haiku_support.cc
src/haiku_support.h
src/haikuselect.c
src/haikuselect.h
src/haikuterm.c
src/termhooks.h