awesome/lib/awful/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
..
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
calendar_popup.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
clienticon.lua clienticon: add a client setter (#2018) 2017-08-27 14:23:06 +02:00
common.lua Remove @release @AWESOME_VERSION@ everywhere (#1157) 2016-10-09 22:36:20 +02:00
graph.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
init.lua Add missing awful.widget.common require (#1850) 2017-06-15 18:47:48 +02:00
keyboardlayout.lua KeyboardLayout widget: add EurKey (#2003) 2017-08-17 17:21:40 +02:00
launcher.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
layoutbox.lua layoutbox: Use a textbox as the fallback when no images are found 2017-06-20 18:22:23 -04:00
only_on_screen.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
prompt.lua Move filesystem functions out of awful.util into new gears.filesystem 2017-03-15 13:46:33 -05:00
taglist.lua doc: Fix a taglist copy/paste oversaw 2017-06-11 01:23:36 -04:00
tasklist.lua Move string functions out of awful.util into new gears.string (#1584) 2017-03-11 18:57:32 -05:00
textclock.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
watch.lua awful.widget.watch: return timer too 2017-02-08 14:53:40 +01:00