awesome/lib/awful
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
..
client Use memory shorter with awful.client.shape (#2051) 2017-10-07 18:22:50 +02:00
hotkeys_popup fix(awful: hotkeys_popup: keys): require all modules in init.lua 2017-06-12 20:39:46 -04:00
layout magnifier layout: Never manage floating windows (#2046) 2017-09-28 22:56:41 +02:00
mouse mouse: Fix a bad refactoring 2017-08-19 22:50:17 -04:00
widget Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
autofocus.lua awful.autofocus: Discriminate sticky clients (#1697) 2017-05-13 23:32:28 +02:00
button.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
client.lua Fix documentation 2017-06-14 10:42:50 +02:00
completion.lua 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
dbus.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
ewmh.lua Fix documentation of activation filter 2017-06-14 11:34:56 +02:00
init.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00
key.lua gears: Move awful.util.table to gears.table (#1641) 2017-03-08 15:18:33 -05:00
keygrabber.lua Fix some deprecated calls in code and docs 2017-03-30 21:26:50 -05:00
menu.lua Add entry for menu font in theme (#1961) 2017-08-07 14:36:40 -04:00
placement.lua fix(awful: placement: no_overlap): use new placement infrastructure (#2032) 2017-09-09 16:26:54 -04:00
prompt.lua minor: check textbox earlier, whitespace 2017-06-27 00:04:40 +02:00
remote.lua Remove traces of the old URL (#1280) 2016-12-21 02:03:03 +01:00
rules.lua doc: improve/fix doc for awful.rules (#2005) 2017-08-20 13:37:03 -04:00
screen.lua Add & use a dpi property on screen objects 2017-10-08 12:30:21 +02:00
spawn.lua awful.spawn: fix doc for spawn.easy_async{,_with_shell} (#1877) 2017-06-26 22:44:08 +02:00
startup_notification.lua Add beautiful property to control busy cursor during spawn 2017-03-01 21:57:59 +01:00
tag.lua awful.tag: Apply a default layout to tags (#1952) 2017-07-29 13:58:45 -04:00
titlebar.lua Fix 'no such file' errors for icons (#1655) 2017-03-15 17:29:53 +01:00
tooltip.lua Fix the example in the tooltip docs (#1980) 2017-08-13 12:23:40 +02:00
util.lua Cleanup usages/patching of awful.util.deprecate (#1966) 2017-08-10 12:18:54 +02:00
wibar.lua wibar: Fix with width and height beautiful properties (#1826) 2017-06-09 05:21:49 -04:00
wibox.lua Move awful.util.deprecate and awful.util.deprecate_class to gears.debug 2017-03-15 20:08:22 -05:00