awesome/lib
Alexander Melnyk 584c5cedb1 Add support for resizing notification icon with respect to aspect (#2176)
* Add support for resizing notification icon with respect to aspect

Previously, if an icon was not exactly square, an icon size set in configuration
would cause the notification to pad the icon with empty space so dimensions are
equal.

Now behaviour is different: the bigger dimension of the icon is scaled to fit
the icon_size value, while smaller is scaled same amount to preserve aspect.

Also, ImageSurface is now not created as fixed size square, but it's dimensions
are computed in similar way.

* Round the computed dimensions of ImageSurface

Even one pixel off is still off.
2018-02-06 11:01:40 -05:00
..
awful awful.keygrabber.run: Fix example (#2169) 2018-01-24 13:13:08 -05:00
beautiful fix(beautiful: xresources): don't return fallback colorscheme if only some of the values are missing (#2151) 2018-01-17 22:43:15 -05:00
gears Give the docs for gears.color some improvements 2018-01-22 11:53:39 +01:00
menubar Fix icon path resolution in menubar.utils 2018-01-15 23:25:31 +01:00
naughty Add support for resizing notification icon with respect to aspect (#2176) 2018-02-06 11:01:40 -05:00
wibox Merge pull request #2153 from otommod/master 2018-01-22 17:44:03 -05:00
beautiful.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00
naughty.lua Add pointless naughty.lua and beautiful.lua files (#1259) 2016-12-08 23:53:50 +01:00