awesome/lib/beautiful
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
..
init.lua Make beautiful.foo = bar work properly 2017-06-20 10:05:32 +02:00
theme_assets.lua feat(beatiful: theme_assets; themes: xresources): recolor titlebar icons for hover and press states 2017-07-02 19:48:59 +02:00
xresources.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00