From 3322a1718214aa811523ba5aa94ca37c85a22e53 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 13 Mar 2016 03:44:27 -0400 Subject: [PATCH] screen: Support property fallback --- lib/awful/screen.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/awful/screen.lua b/lib/awful/screen.lua index 1ae21d81..31442154 100644 --- a/lib/awful/screen.lua +++ b/lib/awful/screen.lua @@ -15,6 +15,7 @@ local capi = client = client } local util = require("awful.util") +local object = require("gears.object") local function get_screen(s) return s and capi.screen[s] @@ -245,6 +246,9 @@ end capi.screen.add_signal("padding") +-- Extend the luaobject +object.properties(capi.screen, {auto_emit=true}) + return screen -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80