diff --git a/lib/awful/screen.lua b/lib/awful/screen.lua index 1ae21d819..314421546 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