awesome/tests/examples/shims
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
..
beautiful tests: Add some shims to emulate CAPI without an X server 2016-03-31 04:45:45 -04:00
_common_template.lua tests: Import the backward compatibility API for all the tests. 2019-10-05 18:06:50 -04:00
_date.lua Use reproducible timestamp during build 2017-10-07 13:58:35 +02:00
_default_look.lua tests: Share the "default look&feel" boilerplate code among the tests. 2019-04-05 21:06:11 -04:00
awesome.lua capi: Move from `.data` to `._private` for the property data. 2019-11-09 16:43:12 -05:00
beautiful.lua tests: Add the cursor and focus colors to the generated images theme. 2018-07-29 10:46:27 -04:00
button.lua shims: Update the `button` and `key` shims to be objects. 2019-11-09 16:43:12 -05:00
client.lua client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
dbus.lua Fix the broken test due to the "soft" merge conflict of two notification pull requests. (#2751) 2019-04-15 13:07:53 -04:00
drawin.lua client: Turn `rc.lua` logic into a new `request::border` signal. 2020-01-11 15:43:11 -08:00
key.lua shims: Update the `button` and `key` shims to be objects. 2019-11-09 16:43:12 -05:00
keygrabber.lua shims: Fix a typo in a root.fake_input name 2018-08-06 18:34:40 -04:00
mouse.lua tests: Implement mouse.screen properly 2019-08-18 02:44:34 -04:00
mousegrabber.lua shims: Add basic shims for the key and mouse grabbers 2017-01-20 00:22:49 -05:00
root.lua shims: Update the `button` and `key` shims to be objects. 2019-11-09 16:43:12 -05:00
screen.lua capi: Move from `.data` to `._private` for the property data. 2019-11-09 16:43:12 -05:00
tag.lua capi: Move from `.data` to `._private` for the property data. 2019-11-09 16:43:12 -05:00