From fcd320c7f6145b3bf40a9fc3da2ae7f81cc666aa Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 17 Apr 2016 05:30:34 -0400 Subject: [PATCH] Make awful.rules mandatory There was many unfixable race conditions that could only be solved by better integrating the request:: system and awful.rules. This has the side effect to make rules mandatory. --- awesomerc.lua | 1 - lib/awful/init.lua | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/awesomerc.lua b/awesomerc.lua index b686e684..5f7e87c6 100755 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -1,7 +1,6 @@ -- Standard awesome library local gears = require("gears") local awful = require("awful") -awful.rules = require("awful.rules") require("awful.autofocus") -- Widget and layout library local wibox = require("wibox") diff --git a/lib/awful/init.lua b/lib/awful/init.lua index 9ed82b11..ac639e15 100644 --- a/lib/awful/init.lua +++ b/lib/awful/init.lua @@ -56,6 +56,7 @@ return tooltip = require("awful.tooltip"); ewmh = require("awful.ewmh"); titlebar = require("awful.titlebar"); + rules = require("awful.rules"); spawn = spawn; }