From 105a4ce41fbc06c4e9387b63d12a8437dd60d39d Mon Sep 17 00:00:00 2001 From: koniu Date: Tue, 25 Aug 2009 20:21:41 +0100 Subject: [PATCH] naughty: fix margin when using icon Signed-off-by: koniu Signed-off-by: Julien Danjou --- lib/naughty.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 8925741a..29fff201 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -375,7 +375,7 @@ function notify(args) -- calculate the width if not width then - width = textbox:extents().width + (iconbox and iconbox:extents().width or 0) + 2 * margin + width = textbox:extents().width + (iconbox and iconbox:extents().width + 2 * margin or 0) + 2 * margin end -- crop to workarea size if too big -- 2.11.4.GIT