awesome/lib/naughty
Uli Schlachter 4577e32a38 naughty: Use :get_height_for_width()
This changes the code in naughty so that it first decides on a width for the
notification and then uses the new function :get_height_for_width() to find a
suitable height.

This makes a difference in the following example where before this change the
text is cut off and afterwards it is shown completely:

  naughty.notify({
      text = string.rep("abcdefghijklmnopqrstuvwxyz\n", 4),
      width = 75
  })

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-10-17 19:13:26 +02:00
..
core.lua naughty: Use :get_height_for_width() 2015-10-17 19:13:26 +02:00
dbus.lua doc: naughty: config.mapping moved to dbus.config.mapping 2015-07-27 15:32:11 +02:00
init.lua Remove the *.in from all files. 2015-06-19 22:33:32 +02:00