screen: Support property fallback

This commit is contained in:
Emmanuel Lepage Vallee 2016-03-13 03:44:27 -04:00
parent 89a1dab845
commit 3322a17182
1 changed files with 4 additions and 0 deletions

View File

@ -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