awesome/lib/wibox/widget
Uli Schlachter a137655791 Add & use a dpi property on screen objects
Once upon a time, beautiful.xresources.get_dpi was added to query
Xft.dpi. That made sense since this queried an xresources property. Over
time, other, non-xresources-based ways to query DPI were added to this
function. Now, it makes no more sense to have this function here.

Also, recently it became possible to add new properties to C objects
from Lua code. Thus, we no longer need to have a get_dpi() function
somewhere, but can add s.dpi directly.

Thus, this commit adds s.dpi and makes everything use it. No functional
changes are intended.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-10-08 12:30:21 +02:00
..
background.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
base.lua Improve docs for emit_signal_recursive (#1998) 2017-08-16 13:37:14 +02:00
calendar.lua wibox.widget.calendar: Stop using make_widget_declarative 2017-07-09 19:00:16 +02:00
checkbox.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
graph.lua Add references to gears.color in documentation. 2016-11-28 20:07:29 -08:00
imagebox.lua Fix imagebox:set_image not returning anything 2017-04-06 19:33:14 +01:00
init.lua widget: Add a calendar widget 2017-06-12 02:58:06 -04:00
piechart.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
progressbar.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
slider.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
systray.lua systray: Enable properties and improve documentation 2017-03-11 18:46:40 +01:00
textbox.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
textclock.lua Add a force_update() method to the textclock (#2034) 2017-09-10 20:12:25 +02:00