AyatanaIndicators / libayatana-appindicator

Ayatana Application Indicators Shared Library
GNU Lesser General Public License v3.0
56 stars 13 forks source link

xdg-activation support #60

Open ilya-fedin opened 2 years ago

ilya-fedin commented 2 years ago

There was a recent addition to the SNI spec to support the xdg-activation Wayland protocol: https://github.com/KDE/knotifications/blob/c40af19e1a733ad20ae2989eca942a89fc99028d/src/org.kde.StatusNotifierItem.xml#L52-L54

Basically, appindicator should have the method on its dbus interface and send the token to gtk with gdk_wayland_display_set_startup_notification_id once the method is called. gtk will then use the token on the next window focus call.

ilya-fedin commented 1 year ago

Ubuntu supports it as well in its extension now: https://github.com/ubuntu/gnome-shell-extension-appindicator/commit/bb4c690e38ed03fc1b1827ea7bc043351c1db0fe