mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
naughty: fix margin when using icon
Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7ecf1afdfd
commit
105a4ce41f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue