From 5eab124677299395c67b629f940b1d4476a9b41c Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 22 Aug 2016 01:52:39 -0400 Subject: [PATCH] context: Add screen property --- context.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/context.lua b/context.lua index 62b075a..0fc1abe 100644 --- a/context.lua +++ b/context.lua @@ -59,6 +59,7 @@ local function new(args) -- Accessors data.get_wibox = function() return internal.w end data.get_visible = function() return internal.private_data.visible end + data.get_screen = function() return internal.w.screen end data.get_margins = common.get_margins internal.set_visible = set_visible