awesome/lib/wibox
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
..
container mirror: Fix documentation 2017-06-26 02:27:20 -04:00
layout grid: fix an unavoidable assert (#2017) 2017-08-21 21:10:43 +02:00
widget Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
drawable.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
hierarchy.lua wibox.hierarchy: Only count "really visible" widgets 2017-03-11 18:44:56 +01:00
init.lua Fix wibox to forward shapes directly 2017-08-04 13:10:14 +02:00