notifier: ask for a token when a click on a notification passes none

A click on a notification did not bring the window up on Hyprland under Omarchy's notification daemon, though Hyprland focuses a window that asks with a token. Parcel asked only with a token the click passed on, and asked nothing without one, which is what it most likely got. Without one the window now asks the compositor for a token of its own, tied to the user's last input in it, and shows itself with that. Compositors that check the input grant it only soon after; a window just opened still shows by itself. The log file keeps which way the window was shown, since a desktop launcher sends stderr nowhere.


Author rockorager.dev
Date Commit Parent 763080b6
+36 -10
3 changed files
+36 -10
3 changed files