Apply rules on dbus notification update
Signed-off-by: Michael Beaumont <mjboamail@gmail.com>
This commit is contained in:
parent
158cc37a0d
commit
1d65179988
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue