a137655791
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> |
||
---|---|---|
.. | ||
container | ||
layout | ||
widget | ||
drawable.lua | ||
hierarchy.lua | ||
init.lua |