applets/notifications: Explicitly set Server inhibition before showing summary

  • applets/notifications: Explicitly set Server inhibition before showing summary

The order the bindings are re-evaluated isn't deterministic, so the summary is sent before the Server is uninhibited, therefore counting as "sent during inhibition" where it ignores the history blacklist.

This causes the inhibition summary to show despite being disabled.

(For future reference, follow the guidelines at https://cbea.ms/git-commit/#seven-rules) -->

Reason for the change

Attempt no. 49324 at getting rid of this stupid summary in the history.

Test plan

sleep 3; notify-send foo bar, switched a window to fullscreen, waited until the 3 seconds were over, then unfullscreened, waited for the summary to disappear, then opened the history: No more inhibition summary in history.

Merge request reports

Loading