From 5191fcbdd22b5a4426d47a7f85f2a4432a4d892a Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 28 Jan 2017 15:05:53 +0100 Subject: [PATCH] beautiful.theme_assets: Use screen geometry instead of workarea (#1462) Signed-off-by: Uli Schlachter --- lib/beautiful/theme_assets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/beautiful/theme_assets.lua b/lib/beautiful/theme_assets.lua index aeee5b25..083412d8 100644 --- a/lib/beautiful/theme_assets.lua +++ b/lib/beautiful/theme_assets.lua @@ -188,8 +188,8 @@ end -- @return Wallpaper image. function theme_assets.wallpaper(bg, fg, alt_fg, s) s = s or screen.primary - local height = s.workarea.height - local width = s.workarea.width + local height = s.geometry.height + local width = s.geometry.width local img = cairo.RecordingSurface(cairo.Content.COLOR, cairo.Rectangle { x = 0, y = 0, width = width, height = height }) local cr = cairo.Context(img)