From c5bb1fb2ed33c06078bfec5fb2f487f6406254d0 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 5 Sep 2024 07:13:53 +0200 Subject: notifications: BEL and OSC-777 now focuses the window on notification activation Or put more propertly; if the notification daemon, and the notification helper used by foot has been configured properly (i.e. they both support XDG activation tokens), notifications generated by BEL and OSC-777 will now raise/focus the window when the default action of the notification is activated - typically by clicking the notification. Closes #1822 --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a2b7aa1..83613505 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,14 @@ * `cursor.unfocused-style` is now effective even when `cursor.style` is not `block`. +* Activating a notification triggered with OSC-777, or BEL, now + focuses the foot window, if XDG activation tokens are supported by + the compositor, the notification daemon, and the notification helper + used by foot (i.e. `desktop-notifications.command`). This has been + supported for OSC-99 since 1.18.0, and now we also support it for + BEL and OSC-777 ([#1822][1822]). + +[1822]: https://codeberg.org/dnkl/foot/issues/1822 ### Deprecated -- cgit v1.3