awesome/lib/naughty
Emmanuel Lepage Vallee 04c757322c client: Turn `rc.lua` logic into a new `request::border` signal.
The default `rc.lua` was using the focus/unfocus signals to set
the border color along with `awful.rules`. This logic block was
no longer aligned with the rest of `rc.lua` since it was
the only place where `beautiful` variables where only used by
`rc.lua`.

On top of this, the new request handler also has extra contexts
for the urgent and floating/maximixed use cases. So it can be used
by themes to implement much smarter borders than just focus based
ones. They were previously limited by the fact most of the
(un-monkey-patchable) logic was in `rc.lua`.

Note that this commit also shuffle the awful.rules order between
the titlebar and the border and changes the tests accordignly.
After some consideration, I came to the conclusion the previous
behavior was bogus and the fact that the placement tests required
to know about the titlebar height is simply a proof of that. The
change was required in this commit because since the border is no
longer in the default rules, a new buggy edge case surfaced.
2020-01-11 15:43:11 -08:00
..
container notification: Fix typos in signal names. 2019-07-09 01:23:11 -04:00
layout quality: Port all legacy `:buttons()` to `.buttons`. 2019-10-06 03:50:56 -04:00
list doc: Add a missing `args.` in naughty notifications constructor. 2019-10-01 02:03:12 -04:00
widget naughty.widget.icon: Use `surface.load_silently`. 2019-08-03 01:45:22 -04:00
action.lua notification.action: Allow actions to be shared by multiple notification 2019-08-03 01:45:22 -04:00
constants.lua naughty: Add more default values. 2019-08-03 01:45:22 -04:00
core.lua client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
dbus.lua Fix missing naughty.dbus.config.mapping defaults 2019-11-29 22:37:20 +07:00
init.lua screen: Allow `outputs` to be changed. 2019-09-29 19:07:24 -04:00
notification.lua client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00