Apply rules on dbus notification update

Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
This commit is contained in:
Michael Beaumont 2020-04-02 18:38:36 +02:00
parent 158cc37a0d
commit 1d65179988
No known key found for this signature in database
GPG Key ID: 94C1243E6859F368
1 changed files with 5 additions and 0 deletions

View File

@ -334,6 +334,11 @@ function notif_methods.Notify(sender, object_path, interface, method, parameters
)
end
-- The rules are attached to this.
if naughty._has_preset_handler then
naughty.emit_signal("request::preset", notification, "update", args)
end
-- Even if no property changed, restart the timeout.
notification:reset_timeout()
else