awesome/lib
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
..
awful Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
beautiful Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
gears Add startswith and endswith function to gears.string, change awful.completion to use startswith over local function 2017-08-14 10:48:12 -05:00
menubar Display desktop entries with no categories (#2039) 2017-09-28 22:58:14 +02:00
naughty naughty: Fix replaces_id + changing colors (#2041) 2017-09-30 21:37:33 +02:00
wibox Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02: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