awesome/spec
Uli Schlachter 844bd1eb05 Test that beautiful is not used too early (#1471)
For loading a theme, beautiful.init() has to be called. We do not handle
dynamic changes of the theme, so if the theme is changed after something
was already queried, this change will not apply. This also means that
before the theme is loaded, nothing useful can be returned. In fact,
code that tries to access the theme during require() will never get a
useful value from beautiful, but just nils.

To catch this, one Travis build is modified so that an error is raised
if the theme is accessed before beautiful.init() was called.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-02-15 00:46:27 +01:00
..
awful Lua: Remove calls to add_signal() 2016-06-04 18:23:48 +02:00
gears parse_color function refactoring: 2016-11-28 20:22:39 -08:00
menubar ci: overhaul coverage processing 2017-01-08 20:34:13 +01:00
wibox wibox.hierarchy: Fix the matrix_to/from_device 2016-10-05 20:07:19 +02:00
preload.lua Test that beautiful is not used too early (#1471) 2017-02-15 00:46:27 +01:00