awesome/objects
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
..
button.c doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
button.h Clean up header includes 2014-03-30 20:07:48 +02:00
client.c client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
client.h client: Rename the `manage` and `unmanage` signals. 2020-01-11 14:43:56 -08:00
drawable.c Fix ldoc modules summaries missing the final `.`. 2019-11-28 13:53:59 +01:00
drawable.h drawable/drawin: Pass both lua_State and stack index around 2014-12-06 10:46:45 +01:00
drawin.c Remove systray_cleanup() from drawin_systray_kickout() (#2301) 2018-07-20 14:11:09 +03:00
drawin.h Partly fix removal of systray from a wibox 2017-03-11 18:14:38 +01:00
key.c doc: Use an explicit tag for all static functions. 2019-06-08 18:14:13 -04:00
key.h Use existing xkbcommon functionality instead of XKeysymToString 2019-01-21 01:08:48 -05:00
screen.c Fix ldoc modules summaries missing the final `.`. 2019-11-28 13:53:59 +01:00
screen.h screen: Add a `name` property to the C API. 2019-09-30 00:49:40 -04:00
selection_acquire.c selection_acquire: Change the API to a table 2019-02-17 08:00:57 +01:00
selection_acquire.h Begin implementing selection transfers 2019-02-11 09:01:37 +01:00
selection_getter.c property: Remove unused int return 2019-02-11 10:13:13 +01:00
selection_getter.h property: Remove unused int return 2019-02-11 10:13:13 +01:00
selection_transfer.c Reduce scope of data variable 2019-02-17 18:43:02 +01:00
selection_transfer.h Selection transfer: Support INCR transfers 2019-02-11 09:21:50 +01:00
selection_watcher.c selection watcher: Actually watch selections 2019-02-06 10:27:59 +01:00
selection_watcher.h Prepare a selection watcher interface 2019-02-06 09:30:16 +01:00
tag.c Apply suggestions from code review 2019-10-05 17:16:22 -04:00
tag.h Attempt at better handling of NET_CURRENT_DESKTOP property. 2016-06-04 16:42:54 +03:00
window.c client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
window.h geometry: Use the relevant rounding functions instead of integers 2016-04-18 04:20:22 -04:00