aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorEli Zaretskii2025-10-11 14:00:09 +0300
committerEli Zaretskii2025-10-11 14:00:09 +0300
commitdcea973c04bc9f1078444dc1faf9491408832423 (patch)
tree0a066feb76e69ab3757655e3cbf8dcb0cfa09d82 /java
parentc723760f281036f5ae9fe651648ffc707340616d (diff)
downloademacs-dcea973c04bc9f1078444dc1faf9491408832423.tar.gz
emacs-dcea973c04bc9f1078444dc1faf9491408832423.zip
Fix MS-Windows tray notifications from different Emacs frames
* src/w32fns.c (EMACS_TRAY_NOTIFICATION_ID_INIT): Rename from EMACS_TRAY_NOTIFICATION_ID; all users adjusted. (last_tray_notification_id): New static variable. (add_tray_notification): Advance 'last_tray_notification_id' for each new notification; wrap around to the fixed initial value when reached the maximum. This allows Lisp programs track notifications and remove them from the same frame from which they were created. (Fw32_notification_notify, Fw32_notification_close): Doc fixes. * doc/lispref/os.texi (Desktop Notifications): Update the documentation of 'w32-notification-notify' and 'w32-notification-close'. Bug#79400
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions